-
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 suggestion for property name completion in map-style constructor invocation code assist #331
Comments
Hi Eric,
So, it seems like the suggestions are not completely context sensitive. In fact, If I open the Groovy console, I see the following. As soon as I invoke code assist (before suggestions are shown), the following is printed:
(please note here I've renamed When I choose "bar", the following gets printed to the status bar:
And that's truncated. No output either on the Groovy event console or on the error log. |
There are definitely a lot of rough edges that need smoothing in content assist. With current builds, this is what I see, Is it the same for you? Named param proposals for map-style constructor are implemented within org.codehaus.groovy.eclipse.codeassist.processors.GroovyProposalTypeSearchRequestor.processAcceptedConstructors(Set, JDTResolver) if you want to have a look. |
Okay, so I tested with a simple Pogo, like |
Yes, the screenshot you attached shows what I see. I'll test the new build as soon as possible, thank you! |
This works now in 2.9.2.xx-201711012114-e46. However I'm going to open a new enhancement request, because camel-case completion does not work yet. |
This was the old GRECLIPSE-1772.
Consider the following:
And:
Invoke code at "|": I would expect Greclipse to suggest the "foo" property to start a map-style constructor invocation (just like it does if I remove the leading "f"). However, this is not the case.
The text was updated successfully, but these errors were encountered: