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 bb0523b commit 862938fCopy full SHA for 862938f
EmmyLua-LS/src/main/kotlin/com/tang/vscode/WorkspaceRootFileScopeProvider.kt
@@ -61,12 +61,12 @@ class WorkspaceRootFileScopeProvider : IFileScopeProvider {
61
}
62
63
override fun getSourceRoots(project: Project): Array<ISourceRoot> {
64
- val cm = IConfigurationManager.get(project)
+// val cm = IConfigurationManager.get(project)
65
val list = mutableListOf<ISourceRoot>()
66
for (root in roots) {
67
- val cfg = cm.getConfigurationFor(root.absoluteDir)
68
- if (cfg == null || cfg.sourceRoots.isEmpty())
69
- list.add(root)
+// val cfg = cm.getConfigurationFor(root.absoluteDir)
+// if (cfg == null || cfg.sourceRoots.isEmpty())
+ list.add(root)
70
71
return list.toTypedArray()
72
0 commit comments