Skip to content

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

Merged
merged 4 commits into from
Nov 13, 2018

Conversation

Duhemm
Copy link
Contributor

@Duhemm Duhemm commented Nov 6, 2018

ezgif com-optimize

Depends on #5394 and #5393 (only because a test exercises it)

@Duhemm Duhemm added the area:ide label Nov 6, 2018
Copy link
Member

@smarter smarter left a 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 ?

@Duhemm
Copy link
Contributor Author

Duhemm commented Nov 12, 2018

Could type parameters be considered as a parameter list too ?

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.

@Duhemm Duhemm force-pushed the topic/ide-signature-help branch from 2d612ea to d15a501 Compare November 12, 2018 09:54
@smarter
Copy link
Member

smarter commented Nov 12, 2018

It would be nice to get that to work, but I believe that this could be left as a future improvement.

Sure, we should open an issue to not forget abou that.

@Duhemm
Copy link
Contributor Author

Duhemm commented Nov 13, 2018

@smarter Do you have more comments or is this good to go?

@Duhemm Duhemm force-pushed the topic/ide-signature-help branch from d15a501 to 9d32de2 Compare November 13, 2018 14:05
Duhemm and others added 4 commits November 13, 2018 15:17
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.
@Duhemm Duhemm force-pushed the topic/ide-signature-help branch from 9d32de2 to 25d436b Compare November 13, 2018 14:22
@Duhemm Duhemm merged commit 7824363 into scala:master Nov 13, 2018
@Duhemm Duhemm deleted the topic/ide-signature-help branch November 13, 2018 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants