Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Secret Grails Feature in NetBeans 6.5

DZone's Guide to

Secret Grails Feature in NetBeans 6.5

· Java Zone ·
Free Resource

FlexNet Code Aware, a free scan tool for developers. Scan Java, NuGet, and NPM packages for open source security and open source license compliance issues.

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.

 

 Scan Java, NuGet, and NPM packages for open source security and license compliance issues. 

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}