We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b6631d commit 691bf81Copy full SHA for 691bf81
server/src/main/kotlin/org/javacs/kt/SourcePath.kt
@@ -200,7 +200,10 @@ class SourcePath(
200
}
201
202
203
- updateIndexAsync(container)
+ // Only index normal files, not build files
204
+ if (kind == CompilationKind.DEFAULT) {
205
+ updateIndexAsync(container)
206
+ }
207
208
return context
209
@@ -219,8 +222,8 @@ class SourcePath(
219
222
* Updates the symbol index asynchronously.
220
223
*/
221
224
private fun updateIndexAsync(container: ComponentProvider) = indexAsync.execute {
- val module = container.getService(ModuleDescriptor::class.java)
- index.update(module)
225
+ // val module = container.getService(ModuleDescriptor::class.java)
226
+ // index.update(module)
227
228
229
/**
0 commit comments