Open spangaer opened 3 years ago
Thanks for reporting! This seems to be intentional change done in https://github.com/scalacenter/bloop/pull/1175 to follow the semantics of the build tool.
Working directory is currently set as it is in sbt. It can be changed currently with:
fork in run := true
baseDirectory in run := file("/path/to/working/directory/")
and reimported.
I think we should be also able to change that Bloop doesn't add user dir property when it's already specified in the java or alternatively change the order so that default property value is overriden. The actual code is here:
One or the other would indeed be kinder than current behavior.
I guess those settings in sbt helping out comes to no surprise, but re-importing for changing that is sort of a though one given that I'm working with source deps to 2 projects ATM, so sbt bloopInstall
takes while to complete.
One or the other would indeed be kinder than current behavior.
I guess those settings in sbt helping out comes to no surprise, but re-importing for changing that is sort of a though one given that I'm working with source deps to 2 projects ATM, so
sbt bloopInstall
takes while to complete.
Sure, it's not ideal at all, I think we should be able to make the approach a bit more flexible.
Describe the bug
When I specify a
-Duser.dir=
, myself in VSCode launch.json it gets overridden by one metals seems to inject.VisualVM read-out:
Installation: