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.

Upgrade to Groovy 2.0.6

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 @CompileStatic annotation. Your experience using this annotation in the IDE will be greatly improved.

Memory Footprint

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.

Formatter improvements

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.