Incorrect goto definition #4255
Labels
improvement
Not a bug or a feature, but something general we can improve
semanticdb
Related to semanticdb usage in Metals
Milestone
Describe the bug
When doing a goto definition on
Indexer
here:metals/metals/src/main/scala/scala/meta/internal/metals/MetalsLanguageServer.scala
Line 2496 in ab314f8
This brings me to the companion object here:
metals/metals/src/main/scala/scala/meta/internal/metals/Indexer.scala
Line 610 in ab314f8
Even though in this scenario you'd expect and want it to bring you to the actual case class here:
metals/metals/src/main/scala/scala/meta/internal/metals/Indexer.scala
Line 46 in ab314f8
Expected behavior
I'd expect to navigate to the case class.
Operating system
macOS
Editor/Extension
Nvim (nvim-metals)
Version of Metals
0.11.8+11-bfe6c2ca-SNAPSHOT
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: