-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No code navigation when source (and dependency) jar reside in local repo #6693
Comments
While probably not causing the issue by itself, it's worth noting that having hardcoded repositories in |
|
💯 Agree, that what I said to @tgodzik, but he suggested dropping a note into the issue anyway. |
Ok. The problem boils down to the fact that here we have completely Scala 3 shop so artefacts are published without scala version postfix ( So the version detected by I'm not sure what the correct behaviour should be in this case, but for us it's easier to republish the jars and make one-line correction to the general build procedure. |
Describe the bug
This was discussed in discord channel
metals-test.zip
Attached is the project including local maven repo. This was created with scala-cli.
running vscode/metals in
codeThatUsesRepo
does not permit code navigation to the sources contained in local repo.The problem persists with both scala-cli and bloop used as build server.
Code completion and compiling works ok.
I also tried the following:
moved scala-cli generated build server configuration to .bloop
removed .scala-cli .vscode .metals directories
restarted vscode, so metals now uses bloop (I checked) as a build server without any notice of scala-cli around.
The situation is the same: everything works (compiling, completion, running) except source navigation.
bloop configs mention correct location for source jar.
Expected behavior
No response
Operating system
macOS
Editor/Extension
VS Code
Version of Metals
1.3.5+58-ead4e2ec-SNAPSHOT
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: