Versions Compared

Key

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

...

Table of Contents
indent10px
maxLevel4
styledisc
outlinetrue

Inferencing enhancments

Inferring type of overloaded operators

...

Groovy-Eclipse now uses more precise techniques to infer the types of list and map literals.  Previously, the types of list and map literals were determined by the static type of the first element of the collection.  Now, as you can see in the screenshot below, Groovy-Eclipse uses the inferred types of the list and map elements to build the type of the collection:

Image Modified

Code select and inferencing for static imports

...

Content assist inside of a class body shows all overridable methods.  This has been available since Groovy 2.0.  Now, we have improved this support and the resulting content assist text will appropriately include argument names and types, will organize imports, and add a doc stub inside the method body if configured to do so.
 
For example, this: 


Becomes this:

Image Modified

Editor option to turn off highlighting for dollar slashy strings

...