-
Notifications
You must be signed in to change notification settings - Fork 446
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
Signature Help sometimes doesn't work on constructors and qualified method declarations #2097
Signature Help sometimes doesn't work on constructors and qualified method declarations #2097
Comments
Your video is broken, i just saw a blank screen there. |
Please download and watch again. . . |
i couldn't open this video in macOS, but i finally saw your video on a Windows machine. Your issue is about signatureHelp feature. I reproduced it using eclipse.jdt.ls source code itself. Move the cursor over the sendStatus method and then trigger the parameter hint (aka. signature help), and it will show some other unrelated method parameters like |
Related issue - eclipse-jdtls/eclipse.jdt.ls#1980 |
@zhouxinghong Could you, please, attach a sample project? |
@zhouxinghong I can't reproduce this issue in VS Code 1.3.0. It has been fixed with eclipse-jdtls/eclipse.jdt.ls#1981
Does CA (Ctrl-Space) work properly? |
Not an irrelevant parameter hint case; but I have a very simple project with 2 classes that if you try to invoke parameter hint on |
@zhouxinghong Does CA (Ctrl-Space) work properly here?
@nimatrueway I can reproduce the issue. I will try to fix it. |
@zhouxinghong @nimatrueway Could you, please, check https://github.com/snjeza/vscode-test/raw/master/java-1.4.0.vsix ? |
I just checked upstream Eclipse, and this functionality seems a bit broken there. I suspect we have some workarounds of our own to react to some of the unwanted behaviour. Almost looks like there's confusion between matching methods that satisfy the parameter type, with overloaded methods whose signature should be considered. Update : eclipse-jdtls/eclipse.jdt.ls#2014 (comment) also mentions some regressions. |
Deprecated. . .
The text was updated successfully, but these errors were encountered: