-
Notifications
You must be signed in to change notification settings - Fork 950
Closed
Labels
Description
If I manually start sbt and then start vscode everything works fine. But if I start vscode first and Metals starts the sbt server, the JVM options from the .sbtopts
file in my project folder don't seem be used.
This is the .bsp/sbt.json file that sbt generates:
{"name":"sbt","version":"1.5.2","bspVersion":"2.0.0-M5","languages":["scala"],"argv":["/Users/jasper.moeys/.sdkman/candidates/java/11.0.11.hs-adpt/bin/java","-Xms100m","-Xmx100m","-classpath","/Users/jasper.moeys/.sdkman/candidates/sbt/1.5.1/bin/sbt-launch.jar","xsbt.boot.Boot","-bsp","--sbt-launch-jar=/Users/jasper.moeys/.sdkman/candidates/sbt/1.5.1/bin/sbt-launch.jar"]}
This is on OS X. I think this did work on Ubuntu a while ago, but then that was with different versions of sbt, vscode and metals.