Replies: 1 comment 1 reply
-
|
I think we should include those symbols, fixing it in #7953 I am now also wondering about method parameters, but not sure. We certainly do not want to overwhelm the user, but maybe we can show more. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
version: metals_2.13:1.6.2
In Metals LSP, case class fields are not returned as symbols.
How to reproduce
Clone the following repository:
https://github.com/YuMuuu/serena-issue-688
Build and run Metals:
Send the following LSP requests and observe the responses:
As you can see from this result, the response does not include the symbol for field1.
As a use case, I want to use the position of a symbol obtained via textDocument/documentSymbol to call textDocument/references and retrieve its references. From this perspective, it would be more convenient if case class fields were also returned as symbols.
If my understanding is incorrect, I apologize.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions