scopeUtils: support CustomizedScriptModuleInfo info in completion
This commit is contained in:
committed by
Ilya Chernikov
parent
834bb51643
commit
34f8e9303f
@@ -32,6 +32,7 @@ fun getResolveScope(file: KtFile): GlobalSearchScope {
|
||||
|
||||
return when (file.getModuleInfo()) {
|
||||
is ModuleSourceInfo -> KotlinSourceFilterScope.sourceAndClassFiles(file.resolveScope, file.project)
|
||||
is CustomizedScriptModuleInfo -> file.getModuleInfo().contentScope()
|
||||
else -> GlobalSearchScope.EMPTY_SCOPE
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user