-
Notifications
You must be signed in to change notification settings - Fork 194
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
Add support for inner type completions on partially-qualified expressions w/o supporting import #461
Comments
- reduce parameters and variables in GroovyProposalTypeSearchRequestor - move all type completion processing to TypeCompletionProcessor - shore up the constructor proposal pipeline
Constructor completion is missing necessary qualifier segments. "new Outer.Inn|" shows proposal that is missing "Outer" and completes to "new pack.Inner()" or "import pack.Inner; new Inner()". Type completion followed by typing |
NOTE: Groovy and Java seem to be indexed differently because |
Hi Eric, |
Can you open a separate issu for that? Starting from "Map.|" there may need to be parser recovery to produce a ClassExpression in the AST so that content assist works propery.
|
In Java editor, code assist for
Map.Ent|
results in a proposal forjava.util.Map.Entry
and application of the proposal adds an import or qualifier (depending on Content Assist preferences). Groovy editor is missing proposals for partially-qualified names likeMap.Ent
when the supporting type name is not imported (i.e. Map is a bad example for Groovy sincejava.util
is default imported).The text was updated successfully, but these errors were encountered: