First Release of the groovy-eclipse refactoring plugin

Introduction

This plugin is the result of our first term project with the name "Refactoring Support for the Groovy-Eclipse Plugin". So far there's the refactoring "Extract Method".

During the next months we're planing to further improve various things for Groovy-Eclipse.

Usage

Select the code you want to extract, "rightclick", "Refactoring"

About the plugin

The Plugin is almost a complete version of the groovy-eclipse plugin (the testng feature is not included), it comes with a patched groovy-core that is based on a recent HEAD.

Source of the plugin

The relevant packages are:

org.codehaus.groovy.eclipse.refactoring
org.codehaus.groovy.eclipse.refactoring.test

URL of the Updatesite

Known Issues

  • AST Writer:
    • Enums will not be written back completely
    • Annotations will not be written back completely
    • The indentation of new methods is not always perfect
    • Comments are not written back yet

Feedback

We would love to get some feedback (rkleeb at hsr dot ch) about the plugin. If you come across a bug it would be extremely helpful if you could send us the piece of code that you were trying to extract.

Further Reading

Thanks

We wanted to thank all the people that supported us during this first project!