LAB-31: elasticsearch-based StubIndex and partial FileBasedIndex implementations

GitOrigin-RevId: 391ec66855e73a21926dbbd109e57773f2ccfd83
This commit is contained in:
Adam Hood
2020-01-07 11:23:37 -05:00
committed by intellij-monorepo-bot
parent 10b40517ba
commit 44248f0796
5 changed files with 5 additions and 19 deletions

View File

@@ -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>

View File

@@ -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

View File

@@ -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"/>

View File

@@ -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">

View File

@@ -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">