mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
LAB-31: elasticsearch-based StubIndex and partial FileBasedIndex implementations
GitOrigin-RevId: 391ec66855e73a21926dbbd109e57773f2ccfd83
This commit is contained in:
committed by
intellij-monorepo-bot
parent
10b40517ba
commit
44248f0796
@@ -39,5 +39,7 @@
|
||||
order="after priority"/>
|
||||
<weigher key="completion" implementationClass="com.intellij.codeInsight.completion.GroupingWeigher" id="grouping"
|
||||
order="last"/>
|
||||
|
||||
<fileBasedIndex implementation="com.intellij.psi.search.FilenameIndexImpl"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
|
||||
@@ -1,22 +1,7 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
package com.intellij.psi.search;
|
||||
|
||||
import com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry;
|
||||
import com.intellij.util.indexing.*;
|
||||
import com.intellij.util.io.EnumeratorStringDescriptor;
|
||||
import com.intellij.util.io.KeyDescriptor;
|
||||
@@ -46,7 +31,7 @@ public class FilenameIndexImpl extends ScalarIndexExtension<String> {
|
||||
@NotNull
|
||||
@Override
|
||||
public FileBasedIndex.InputFilter getInputFilter() {
|
||||
return file -> file instanceof VirtualFileSystemEntry;
|
||||
return file -> true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -559,7 +559,6 @@
|
||||
<internalFileTemplate name="XHTML File"/>
|
||||
<fileBasedIndex implementation="com.intellij.psi.impl.cache.impl.todo.TodoIndex"/>
|
||||
<fileBasedIndex implementation="com.intellij.psi.impl.cache.impl.id.IdIndexImpl"/>
|
||||
<fileBasedIndex implementation="com.intellij.psi.search.FilenameIndexImpl"/>
|
||||
<fileBasedIndex implementation="com.intellij.psi.search.FileTypeIndexImpl"/>
|
||||
<fileBasedIndex implementation="com.intellij.psi.stubs.StubUpdatingIndex"/>
|
||||
|
||||
|
||||
@@ -122,6 +122,7 @@
|
||||
<with attribute="implementationClass" implements="com.jetbrains.python.psi.PythonVisitorFilter"/>
|
||||
</extensionPoint>
|
||||
<extensionPoint qualifiedName="Pythonid.pyReferenceCustomTargetChecker" interface="com.jetbrains.python.psi.impl.references.PyReferenceCustomTargetChecker"/>
|
||||
<extensionPoint qualifiedName="Pythonid.pyDataclassParametersProvider" interface="com.jetbrains.python.codeInsight.PyDataclassParametersProvider"/>
|
||||
</extensionPoints>
|
||||
|
||||
<extensions defaultExtensionNs="Pythonid">
|
||||
|
||||
@@ -649,7 +649,6 @@
|
||||
<extensionPoint qualifiedName="Pythonid.projectSynchronizerProvider"
|
||||
interface="com.jetbrains.python.remote.PyProjectSynchronizerProvider"/>
|
||||
<extensionPoint qualifiedName="Pythonid.sshInterpreterManager" interface="com.jetbrains.python.remote.PythonSshInterpreterManager"/>
|
||||
<extensionPoint qualifiedName="Pythonid.pyDataclassParametersProvider" interface="com.jetbrains.python.codeInsight.PyDataclassParametersProvider"/>
|
||||
</extensionPoints>
|
||||
|
||||
<extensions defaultExtensionNs="Pythonid">
|
||||
|
||||
Reference in New Issue
Block a user