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 7058f69 commit 004c8d5Copy full SHA for 004c8d5
language-server/src/dotty/tools/languageserver/DottyLanguageServer.scala
@@ -65,7 +65,8 @@ class DottyLanguageServer extends LanguageServer
65
myDrivers = new mutable.HashMap
66
for (config <- configs) {
67
val classpathFlags = List("-classpath", (config.classDirectory +: config.dependencyClasspath).mkString(File.pathSeparator))
68
- val settings = defaultFlags ++ config.compilerArguments.toList ++ classpathFlags
+ val sourcepathFlags = List("-sourcepath", config.sourceDirectories.mkString(File.pathSeparator))
69
+ val settings = defaultFlags ++ config.compilerArguments.toList ++ classpathFlags ++ sourcepathFlags
70
myDrivers.put(config, new InteractiveDriver(settings))
71
}
72
0 commit comments