-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
'Docs for symbol' on the closing parenthesis shows last argument instead of function docs #2810
Comments
Which language server is this? Hover on parens gives the function documentation with rust-analyzer. We only show in hover what the language server gives so this should most likely be reported upstream to the language server repo. |
this is |
Does that |
Semicolon does not change anything. These |
|
Signature help is being worked on in #1755. |
The parens appear to be expected behavior from rust-analyzer: it's showing the return type of the call when hovering the trailing paren. There's an issue for signature help (plus the pr) #1331 so let's close this in favor of that issue |
Expected:
space+k
opening the function doc popup when cursor is on function call parentheses or inside them.What actually happens:
Why important:
Prevents easy lookup of function args while filling in the call.
The text was updated successfully, but these errors were encountered: