-
Notifications
You must be signed in to change notification settings - Fork 193
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
Missing suggestions for static methods in code assist when parser recovery involved #501
Comments
Because of optional semicolons in Groovy, you are completing on the expression |
Ready to test |
Tested with 3.1.0.xx-201808212342-e47, but it does not work as expected. In the exact case I attached here, when invoking Ctrl+Space at |
Okay, yes. I was testing without the generics on the Set declaration. Without that, the proposals come normally. |
generics in new declaration expression)
Ready to test. Recovery is very specific to this case; you may find other cases where it breaks down. |
Works well in 3.1.0.xx-201808221857-e47, thank you! 👍 |
Consider the following:
Invoke code assist at "|" with Ctrl+Space and start typing
getN
:getNumberInstance
is not shown as a suggestion. Press Esc and Ctrl+Space again: voilà!If you remove the following line (
Set<Integer> s = []
), code assist works fine from the beginning.The text was updated successfully, but these errors were encountered: