-
Notifications
You must be signed in to change notification settings - Fork 136
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
Completion for unimported types doesn't work #1503
Conversation
Found this only after commenting in #1502 - still a few answers to my questions there would help the reviewer :) |
Are @snjeza 's answers on the issue good? |
b6b5453
to
6d2ec5d
Compare
@snjeza please resolve conflicts and update the commit message to reflect the change and and contain a reference to the bug |
- use MissingTypesGuesser to select all missing types and offer their completion The related issue: eclipse-jdt#1502
@jukzi I have updated the PR. |
This should be resolved in eclipse.jdt.ui - https://github.com/eclipse-jdt/eclipse.jdt.ui/blob/a4c1b5bc5dbb294e8c23b93296effeb1d5c2cae0/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaMethodCompletionProposal.java#L474 |
Looks to still be an issue for me with this PR on latest master of jdt.core and latest jdt.ui. |
I guess
No LHS is actually the situation mentioned by @jukzi , and for this very reason a diamond is illegal. |
Roland sent me to this PR, since I took a look at another PR related to generics. Taking a look at this, it seems like there are two possible ways forward for the completion Stephan mentioned:
However, from my understanding, these fixes to completion seem unrelated to the changes in this PR. Is there anything blocking this PR from being merged? |
Fixes #1502