The Groovy-Eclipse team is proud to announce the release of Groovy-Eclipse 2.7.0. This is the first release that includes Groovy 2.0 final and that is available on Eclipse 4.2 (Juno). Now that Eclipse 4.2 is released, we will be dropping our Eclipse 3.6 support.

Groovy 2.0

Groovy 2.0.0 is now available in Groovy-Eclipse as an optional add-on. We have not yet made the compiler default because we make our default compiler compatible with the default compiler of the latest release of Grails. At the time of this release, Grails is at version 2.0.4, which uses Groovy 1.8 as its compiler. When Grails moves to being based on Groovy 2.x, Groovy-Eclipse will move its default compiler as well.

To install Groovy 2.0.0, go to Help -> Install new Software. In the work with tab, choose the Groovy-Eclipse update site and select the "Extra Compilers" category:

@TypeChecked and @CompileStatic Support

With the 2.0.0 compiler enabled, you can use the @TypeChecked and @CompileStatic annotations and Groovy-Eclipse compiles with them appropriately.

(Screenshot)

Also, reconciling (i.e., eager parsing as you type) handles these annotations properly. So

(screenshot)Doc hovers with @link and @see

Doc hovers now respect the @link and @see JavaDoc tags, so you can add them to your DSLDs and users will be able to follow proper links to other parts of the source code:

(IMG)

Selectively Allow AST Transforms to run during reconciling (i.e., in the editor)

Groovy-Eclipse now recognizes a system property that describes which AST transforms should run during reconciling (i.e., in the editr while typing—all AST transforms run during a regular compile).

(system property and code snippet)

If this feature is popular and gets good feedback, we will allow the setting of the system property through a preference dialog and allow each project to use their own settings. Please vote on the issue at GRECLIPSE-XXXXXXX. (GRECLIPSE-1406)

Source code to github

Groovy-Eclipse is now on GitHub. Forking and pull requests are appreciated!

Compatibility

This version of Groovy-Eclipse is recommended to be installed on STS 2.9.2, STS 3.0.0.M3, Eclipse 3.7.2, or Eclipse 4.2. There is also a 4.2-based Groovy-Eclipse now available. See above for the update site.

Bug fixes

What's next?

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.