We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sometimes when methods are long and have multiple local definitions, it would be useful if Metals showed Scaladoc for local definitions on hover.
/** Ooopsie daisy */ def computeLogicOwners(): Unit = /** This is a comment */ val logicOwners = ???
Currently hover on logicOwners shows:
logicOwners
val logicOwners: Nothing
with this feature it would show:
val logicOwners: Nothing This is a comment
Docstrings are currently collected in Metals using Mtags but for local symbols, we should be able to get them from pc directly.
Mtags
Using go to definition to find the definition of local symbol and reading the attached Scaladoc/comment.
go to definition
Original issue: scalameta/metals#7093
hover scaladoc local
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
Sometimes when methods are long and have multiple local definitions, it would be useful if Metals showed Scaladoc for local definitions on hover.
Describe the solution you'd like
Currently hover on
logicOwners
shows:with this feature it would show:
Possible mechanism
Docstrings are currently collected in Metals using
Mtags
but for local symbols, we should be able to get them from pc directly.Describe alternatives you've considered
Using
go to definition
to find the definition of local symbol and reading the attached Scaladoc/comment.Additional context
Original issue: scalameta/metals#7093
Search terms
hover scaladoc local
The text was updated successfully, but these errors were encountered: