Over a million developers have joined DZone.

Secret Grails Feature in NetBeans 6.5

· Java Zone

Navigate the Maze of the End-User Experience and pick up this APM Essential guide, brought to you in partnership with CA Technologies

If you have multiple domain objects and controllers in your Grails application, like here:

...it is easy to switch between a domain object and its controller, if you set shortcuts for doing this, which is (very hidden) here in "Keymaps" of Options window:

 

After setting shortcuts like the above, when you have a domain open, press the shortcut "Go to Grails Controller" and then the related controller class will open. Same the other way round. Also, even if the domain isn't open, but only selected in the tree view, the controller will open when you press the "Go to Grails Controller" shortcut. Same applies to views, which can also be thrown into the mix as you can see from the screenshot.

 

Thrive in the application economy with an APM model that is strategic. Be E.P.I.C. with CA APM.  Brought to you in partnership with CA Technologies.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}