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
- Direct SVN: http://groovy.ifs.hsr.ch/svn/GroovyRefactoring/groovy-eclipse/trunk/
- SVN via Trac: http://groovy.ifs.hsr.ch/trac/GroovyRefactoring/browser/groovy-eclipse/trunk
URL of the Updatesite
- The plugin comes with no warranty at all and we recommend to try the plugin in a separate installation of Eclipse
- URL: http://groovy.ifs.hsr.ch/GroovyRefactoring/updateSite/continuous_builds/
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
- The report of the term project
- The offical Groovy Website http://groovy.codehaus.org/
- The Groovy Eclips Plugin Website http://groovy.codehaus.org/Eclipse+Plugin
- The Website of the Institute for Software at HSR http://www.ifsoftware.ch/
Thanks
We wanted to thank all the people that supported us during this first project!
