We have several major advances included in the 2.5.0 release of Groovy-Eclipse. In addition to including both Groovy 1.8.0 and Groovy 1.7.10, we have introduced support for DSL descriptors that allow first class support for custom DSLs in Groovy-Eclipse.
You can use the following update site sto install this release.
And a zipped version of the update site is available at:
You can install from the zip by pointing your Eclipse update manager to the downloaded zip file and following the installation instructions.
Groovy 1.8 support
Groovy 1.8.0 final is now available in Groovy-Eclipse as an optional add-on. Groovy 1.8 will not be installed by default with the rest of Groovy-Eclipse. Instead, it is available as a separate feature that can be installed from the Groovy-Eclipse update site. For information on how to do this, see Compiler Switching within Groovy-Eclipse.
Extended outline support for Scripts
When working with scripts, the outline view displays contents in a more Groovy-like way. The run, and main methods are hidden. Instead, script variable declarations are displayed.
The enhanced outline view is part of Groovy-Eclipse and is available for third party plugins to use their own outline extender. For more information, see the feature request here: GRECLIPSE-1029.
Parameter guessing proposals
Distinguish read access from write access
When doing a find references in the Groovy editor (CTRL-Shift-U on Windows/Linux), read occurrences are highlighted differently from write occurrences:
Better generics inferencing support
Groovy-Eclipse now recognizes more complex forms of generics to help seed type inferencing. For example, in the following code, Groovy-Eclipse can determine that the second call to "get()" is declared by the WeakReference class and returns a java.lang.Class object:
For more information, see GRECLIPSE-997.
Groovy-Eclipse 2.5.0 includes Groovy 1.7.10 by default. Groovy 1.8.0 can be optionally installed. Groovy-Eclipse is installable on STS 2.6.0, Eclipse 3.6.0, 3.6.1, or 3.6.2. There are builds available targeting Eclipse 3.7 as well. See above for the update sites.
Over 40 issues have been fixed for this release.
The 2.5.1 final release is scheduled for the end of June, around the time that Eclipse 3.7 will be released. We will be working on enhancing our DSLD support and including some standard DSLD files inside of Groovy-Eclipse with the next release.
In this release, we are particularly grateful for Maxim Hamm's work on outline view extensibility (GROOVY-1029).
We appreciate all community support and feedback. If you wish to join the discussion about Groovy-Eclipse then please sign up for the mailing list. For any issues you have (or enhancements you would like to see), please raise them in our issue tracker. If there is an existing bug fix or enhancement that you require are not seeing any movement on, please make some noise on it (and get your friends to do the same). We respond to community feedback, and we can make the most improvements to Groovy-Eclipse when we hear directly from the community. So, please speak up!