Skip to content

4.7.0 Release Notes

Eric Milles edited this page Sep 30, 2022 · 2 revisions

Greclipse 4.7.0 was released on September 30th 2022.

New and Noteworthy

Support for new versions of Groovy

  • Groovy 4.0.5
  • Groovy 3.0.13
  • Groovy 2.5.19

The new antlr4-based Parrot Parser is disabled by default. To enable it, add -Dgroovy.antlr4=true to your eclipse.ini file after the -vmargs line or add a compiler config script to your project with configuration.pluginFactory = org.codehaus.groovy.control.ParserPluginFactory.antlr4(). Please note that parser recovery is not implemented for the Parrot Parser, so your editing experience may be sub-par in this mode.

Support for new version of Eclipse

  • Eclipse 4.25 (2022-09)

Compiler Fixes

Content Assist

  • Refactor > Rename... (Alt+Shift+R) for properties

    Fixed rename for @CompileStatic references (to getter), static import of getter/setter and aliased references.

  • Run As > Groovy Console (or Shell) in Outline view

    Groovy launch shortcuts no longer appear for elements such as imports and packages.

  • Alias imports show alias name in Outline view

  • "import declarations" displayed after package in Outline view (when using ImportCustomizer)

  • Collapse region for import statements (when using ImportCustomizer)

    Current:

    Previous:

  • Organize Imports (Ctrl+Shift+O) for source unit in default package (when using ImportCustomizer)

  • Static imports selected from Outline view don't highlight "static " in editor

  • Static imports with an alias display proper first line in hover

    Current:

    Previous:

Syntax Highlighting and Type Inferencing

  • explicit-this reference to private static field

    Current:

    Previous:

  • super method references

    Current:

    Previous:

Resolved Issues

  • 1377: Add support for Eclipse 4.25 (2022-09)
  • 1378: Fix syntax highlighting for super method references
  • 1379: Add support for Groovy 2.5.18
  • 1380: Add support for Groovy 3.0.12
  • 1381: Add support for Groovy 4.0.4
  • 1382: Fix syntax highlighting for explicit-this reference to private static field
  • 1385: Compilation error when trying to assign int to Serializable
  • 1386: Add support for Groovy 4.0.5
  • 1387: Compiler targetDirectory is not canonicalized
  • 1389: Add support for Groovy 3.0.13
  • 1391: Several issues with import statements
  • 1393: Run As Groovy Console or Shell appear in Outline view
  • 1395: Add support for Groovy 2.5.19
  • 1396: Rename property refactoring produces invalid code in @CompileStatic
  • 1398: Rename refactor on static member should not impact aliased references

Update Sites

Use one of the following update sites depending on your version of Eclipse:

Archives of these update sites are also available:

Clone this wiki locally