You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec isn't clear about what the String is supposed to be.
sbt 1.7.1 sends Keys.baseDirectory.value.toURI().toString(), which apparently broke the expectation by IntelliJ Scala Plugin.
expectation
There's now a PR fixing this as sbt/sbt#6983, and I am happy to move that forward, but I also wonder if spec should clarify that it represents an absolute path of the local filesystem, or preferably an absolute path or an URI since most things on LSP are URI-based.
The text was updated successfully, but these errors were encountered:
I've already pushed a fix for the Scala plugin so that it works with both file URIs and paths. I think really this should be an URI for consistency, but now we have a state where a raw path is the default, so I suppose we should clarify that in the spec.
Ref sbt/sbt#6982
Ref https://youtrack.jetbrains.com/issue/SCL-20275/Cannot-start-process-the-working-directory-filexxxxyyyy-does-not-exist-when-running-the-main-method-in-an-object-sbt-171
steps
JVM extension contains
JvmEnvironmentItem#workingDirectory
, which is aString
:build-server-protocol/docs/extensions/jvm.md
Lines 57 to 63 in 437006e
problem
The spec isn't clear about what the
String
is supposed to be.sbt 1.7.1 sends
Keys.baseDirectory.value.toURI().toString()
, which apparently broke the expectation by IntelliJ Scala Plugin.expectation
There's now a PR fixing this as sbt/sbt#6983, and I am happy to move that forward, but I also wonder if spec should clarify that it represents an absolute path of the local filesystem, or preferably an absolute path or an URI since most things on LSP are URI-based.
The text was updated successfully, but these errors were encountered: