Skip to content

Commit f6efbe0

Browse files
committed
Move symbol index to subpackage
1 parent 2aedd27 commit f6efbe0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

server/src/main/kotlin/org/javacs/kt/SourcePath.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import org.javacs.kt.util.AsyncExecutor
55
import org.javacs.kt.util.fileExtension
66
import org.javacs.kt.util.filePath
77
import org.javacs.kt.util.describeURI
8+
import org.javacs.kt.index.SymbolIndex
89
import com.intellij.lang.Language
910
import com.intellij.psi.PsiFile
1011
import com.intellij.openapi.fileTypes.FileType

server/src/main/kotlin/org/javacs/kt/completion/Completions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import org.eclipse.lsp4j.CompletionItemTag
77
import org.eclipse.lsp4j.CompletionList
88
import org.javacs.kt.CompiledFile
99
import org.javacs.kt.LOG
10-
import org.javacs.kt.SymbolIndex
1110
import org.javacs.kt.CompletionConfiguration
11+
import org.javacs.kt.index.SymbolIndex
1212
import org.javacs.kt.util.containsCharactersInOrder
1313
import org.javacs.kt.util.findParent
1414
import org.javacs.kt.util.noResult

server/src/main/kotlin/org/javacs/kt/SymbolIndex.kt renamed to server/src/main/kotlin/org/javacs/kt/index/SymbolIndex.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
package org.javacs.kt
1+
package org.javacs.kt.index
22

33
import org.jetbrains.kotlin.descriptors.ModuleDescriptor
44
import org.jetbrains.kotlin.descriptors.DeclarationDescriptor
55
import org.jetbrains.kotlin.resolve.scopes.DescriptorKindFilter
66
import org.jetbrains.kotlin.resolve.scopes.MemberScope
77
import org.jetbrains.kotlin.name.FqName
88
import org.javacs.kt.compiler.Compiler
9+
import org.javacs.kt.LOG
910
import java.util.concurrent.locks.ReentrantLock
1011
import kotlin.concurrent.withLock
1112

0 commit comments

Comments
 (0)