Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We have just released Groovy-Eclipse 2.1.1.RC1. Just 6 weeks after our previous release of 2.1.0, we are starting the release process again. There are many exciting new features to look forward to.

You can use the following update site to install this release.

...

This new and noteworthy is for the release candidate and does not contain images. A more complete new and noteworthy will be available for the final release expected in about a week.

Outline

Table of Contents
maxLevel4
indent20px
styledisc

Better inferencing of Enums

What did I mean here???

...

Inferencing inside of closures

Type inferencing and content assist inside of closures now uses the type of calling method as the type of this. For example:

Code Block

new Foo().run {
    this
}

Hovering over this in the editor and the bubble will show that this is of type Foo. See GRECLIPSE-916.

Quickfixes

We now have quickfixes in the Groovy editor, see GRECLIPSE-909. In this release, we introduce two quickfixes: convert to Groovy file (GRECLIPSE-910) and add import (GRECLIPSE-911).

Inferencing of statically imported fields and methods

Statically imported fields and methods are now available from content assist and in the inferencing engine. See GRECLIPSE-698 for more information.

Content assist for Constructors

Content assist now includes appropriate constructors when invoked in front of a new keyword. See GRECLIPSE-839.

Improved semantic highlighting

Semantic highlighting now highlights field references, static references, and deprecated references. See GRECLIPSE-869 and GRECLIPSE-708.

Organize imports improvements

Organize imports in Groovy scripts now respects the settings in Preferences -> Java -> Code Style -> Organize Imports. Imports are sorted appropriately and grouped according to preferences. Also, semi-colons are now automatically removed. See GRECLIPSE-498.

Create Groovy Script

The New Groovy Class wizard now has an option to create a Groovy script instead of a standard class. See GRECLIPSE-485.

Outline view for binary Groovy types

...

It is now possible to add a bookmark in a Groovy file by right-clicking on the editor ruler and selecting 'Add Bookmark...'. See GRECLIPSE-853.

Content assist for Constructors

Content assist now includes appropriate constructors when invoked in front of a new keyword. See GRECLIPSE-839.

Improved semantic highlighting

Semantic highlighting now highlights field references, static references, and deprecated references. See GRECLIPSE-869 and GRECLIPSE-708.

Create Groovy Script

The New Groovy Class wizard now has an option to create a Groovy script instead of a standard class. See GRECLIPSE-485.

Inferencing inside of closures

Type inferencing and content assist inside of closures now uses the type of calling method as the type of this. For example:

Code Block

new Foo().run {
    this
}

Hovering over this in the editor and the bubble will show that this is of type Foo. See GRECLIPSE-916.

Quickfixes

We now have quickfixes in the Groovy editor, see GRECLIPSE-909. In this release, we introduce two quickfixes: convert to Groovy file (GRECLIPSE-910) and add import (GRECLIPSE-911).

Compatibility

Groovy-Eclipse 2.1.1.RC1 includes Groovy 1.7.5 and is installable on Eclipse 3.6.0 and 3.6.1. There are no plans to release a 3.5 version of this release.

...