Highlight new/customized methods(CTRL + space ) for groovy/grails


  Iam trying to inject methods in the controllers, but its will not be showed in the highlight(CTRL+space) on the intellij, like the ControllersAPI of grails-core is. Someone know if is have some way to intellij see the new methods injecteds?

PS: Its grails

Comment actions Permalink

I've never worked in groovy or grails, so I may not be understanding your question completely... but have you tried using Ctrl+Alt+Space? Ctrl+Space shows suggestions for things that are already imported and available. Ctrl+Alt+Space will show things that are available project wide, but may not yet be imported or available in the current scope. Not sure if that helps. But I though it'd be worth your trying it.

Comment actions Permalink

Thx for answer Mark,
  I found i way to do what i needed. I'm using a gdsl(Groovy domain-specific language) that "inject" the signatures of the methods and attributes in the classes, so the intelliJ identify the dinamics methods.


Please sign in to leave a comment.