-
Notifications
You must be signed in to change notification settings - Fork 408
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
Typing () returns wrong set of signatures (textDocument/signatureHelp) #1009
Comments
Same behavior in Eclipse IDE. Note that |
Same behavior in Intellij IDEA, so it might be done on purpose after all |
IntelliJ IDEA also has a smart completion mode where only items matching the expected type are returned. Which would be nice to have too. See https://www.jetbrains.com/help/idea/auto-completing-code.html#smart_completion |
@fbricon signatureHelp is not intended to suggest methods no matter whether they are matching or not but it should describe the function call at the point. So in this case, the server should return empty set since () does not stand for function invocation. |
mmmok I didn't realize you were talking about signatureHelp ;-) |
Yep, I fixed the title. |
I can reproduce the problem. Indeed it doesn't make sense to return methods here. |
when the cursor in on
|
I think that the server returns all methods that are in the current scope(class).The text was updated successfully, but these errors were encountered: