-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
TVP contains no project/library symbols #500
Comments
Hey @nkgm thanks for reporting. What version of Scala are you using? If Scala 3 then this isn't supported yet in Metals. |
Hi @ckipp01, yes I'm using Scala 3, I wasn't aware of this limitation. Could this be why |
No the definition request should for sure work. Do you have a minimal reproduction of a case where it's not working? |
I created a minimal project for which My main project on the other hand had way more time to "settle", yet I couldn't get it to work. Maybe it was I had similar issues before where I couldn't tell if Metals is doing something or needs a restart. Would
Is there an issue or some other source tracking Scala 3 support I can refer to in the future? |
Yea this should help a bit. At least it will show you if something is getting screwed up or not.
Yea you can take a look at the main Metals tracker and look for things tagged with Scala 3: https://github.com/scalameta/metals/issues?q=is%3Aissue+is%3Aopen+label%3A%22Scala+3%22. |
For reference: scalameta/metals#2859 |
Describe the bug
Move the cursor to a symbol in a source file and invoke
reveal_in_tree()
.TVP appears with
Projects
andLibraries
top level nodes fully collapsed. Upon expanding them, these nodes contain the full package structures for the underlying artifacts, but theres no leaf nodes, ie the package nodes are devoid of any actual symbols.The only symbols found are under
Projects > [ProjectName]-build
for the sbt build itself.Expected behavior
TVP should contain symbols for Projects and Libraries.
Operating system
macOS
Version of Metals
v0.11.9
Commit of nvim-metals
92f7451
The text was updated successfully, but these errors were encountered: