Groovy and Grails in NetBeans 6.7 M2
By Petr Hejl on Feb 25, 2009
First of all there is a couple of enhancements in properties of the Grails project. Now you can disable the browser opening on project run (general category of project properties).
Another improvement in project settings allows ou to configure the JDK. You can easily configure the required JDK in libraries category.
One big improvement for Grails development is code completion for dynamic methods of domain class especially dynamic finders.
Code completion was also enhanced to work with method reference operator and safe navigation operator as you can see on the following pictures. This is usable in both Groovy and Grails of course. The next screenshot shows method dereference operator completion.
And another picture for safe navigation operator.
One feature which was missing in previous releses was the ability to run any Grails command not just those supported by the IDE integration. This was even more annoying in case you wanted to use custom script or command provided by a plugin. Now you can use context action to display the command dialog.
When invoked it displays the listing of all available commands and you can directly start typing the prefix of your command. Just by hitting enter you can run it. It would be even better and faster if the context action had a keyboard shortcut. This is not possible at the moment but planned for M3.
Other notable fixes are automatic classpath update on plugin installation (thanks Sven ) and workaround for very very annoyning issue where the EDT was blocked on text selection.
I hope you'll like this.