-
Notifications
You must be signed in to change notification settings - Fork 1.1k
IDE: Support textDocument/signatureHelp
#5395
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could type parameters be considered as a parameter list too ?
language-server/src/dotty/tools/languageserver/Signatures.scala
Outdated
Show resolved
Hide resolved
language-server/src/dotty/tools/languageserver/Signatures.scala
Outdated
Show resolved
Hide resolved
language-server/src/dotty/tools/languageserver/Signatures.scala
Outdated
Show resolved
Hide resolved
language-server/src/dotty/tools/languageserver/DottyLanguageServer.scala
Outdated
Show resolved
Hide resolved
I've tried, but failed so far. I also tried to handle named arguments, but these are discarded by the typer when the application doesn't type check. I've tried keeping them, but it got hairy. It would be nice to get that to work, but I believe that this could be left as a future improvement. |
2d612ea
to
d15a501
Compare
Sure, we should open an issue to not forget abou that. |
@smarter Do you have more comments or is this good to go? |
d15a501
to
9d32de2
Compare
This error message allows us to keep track of all the possible alternatives.
When the user starts writing a function application, the language client requests `textDocument/signatureHelp`. This is used to display help associated with the function application that is being written.
Co-Authored-By: Duhemm <[email protected]>
And address review comments.
9d32de2
to
25d436b
Compare
Depends on #5394 and #5393 (only because a test exercises it)