The Groovy-Eclipse team is proud to announce the release of Groovy-Eclipse 2.7.2. This is a service refresh of Groovy-Eclipse and it now contains support for the 2.0.6 Groovy compiler as well as Eclipse 4.2.1 and 3.8.1. Our primary focus with this release has been to improve the
@CompileStatic experience in the IDE.
You can use the following update sites to install this release:
The Groovy 2.0 compiler is not installed by default. If you want to install it, you can do so from the Extra Compilers category in the update site.
And a zipped version of the update site is available at:
Upgrade to Groovy 2.0.6
Groovy-Eclipse now contains Groovy 2.0.6 as an optional add-on from the update site.
Compile static fixes
Groovy-Eclipse's internal representation of generics has been completely overhauled to be more aligned with that of the groovy compiler's representation. This has fixed many small problems with using the
We have put in some initial work on reducing the memory footprint of your Groovy projects. Now, full and incremental builds will consume less memory than before.
Better handling of built-in AST transforms
Groovy-Eclipse now has editing support for the following built-in AST transforms: @Bindable, @Vetoable, @ListenerList, @Log, and @AutoExternalize.
Now you have more explicit control over how lists are formatted. Long lists are wrapped so that each element is on a single line and short lists are all on one line. From the Groovy -> Formatter preferences page, you can define the number of characters a long list.
Below, you can see the preferences page where you can set this option:
And by setting the long list length to be 30 characters, the following is formatted, with the upper list being wrapped, with the lower list staying on the same line:
Additionally, we have fixed other bugs in this area and your formatting experiences should be greatly improved.
Building Eclipse plugins written in Groovy using Maven Tycho
It is now possible to build Eclipse plugins written in Groovy using Tycho and the groovy-eclipse-compiler. For more information on how to do this and an archetype project. see the groovy-eclipse-plugin-archetype github project.
Groovy-Eclipse 2.7.2 uses Groovy 1.8.6. Groovy 1.7.10 can be enabled optionally, and Groovy 2.0.6 can be installed through the extra compilers section on the update site.
This version of Groovy-Eclipse is recommended to be installed on STS versions 3.0.0 - 3.2.0.M1, Eclipse 3.7.2, 3.8.1, and 4.2.1.
See the details on our issue tracker.