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 66c37bf commit cf7dff8Copy full SHA for cf7dff8
modules/build/src/main/scala/scala/build/bsp/BspServer.scala
@@ -126,7 +126,12 @@ class BspServer(
126
protected def forwardTo
127
: b.BuildServer & b.ScalaBuildServer & b.JavaBuildServer & ScalaDebugServer = bloopServer
128
129
- private val supportedLanguages: ju.List[String] = List("scala", "java").asJava
+ private val supportedLanguages: ju.List[String] = List(
130
+ "scala",
131
+ "java",
132
+ // This makes Metals requests "wrapped sources" stuff, that makes it handle .sc files better.
133
+ "scala-sc"
134
+ ).asJava
135
136
private def capabilities: b.BuildServerCapabilities = {
137
val capabilities = new b.BuildServerCapabilities
0 commit comments