New in 10.5: Introduce Refactorings for Groovy
April 13th, 2011 by Maxim MedvedevIn the upcoming IntelliJ IDEA 10.5 some new Groovy refactorings will appear.
The first of them is Introduce Parameter. It allows you to select any expression inside a method and make from it a new method parameter. All the usages of the method in both Groovy and Java will be auto-updated.


The second one is Introduce Field which provides you with an ability to quickly create a new field from any expression inside a class.


No doubt these 2 introduce refactorings will be a good addition to the existing Introduce Constant and Introduce Variable. You are using them, right?
Download the latest EAP build of IntelliJ IDEA 10.5 to try these and other new features and to let us know what you think.
Tags: Groovy, Refactoring, Xena

April 13th, 2011 at 9:04 am
It’s great to see that the Groovy refactorings get some more love from you guys. Great work, keep it up!
April 14th, 2011 at 3:14 pm
+1
What about “Unwrap..” for Groovy?
http://youtrack.jetbrains.net/issue/IDEA-45767
April 15th, 2011 at 4:01 am
That is awesome!
You know else would be useful that IntelliJ should have for Groovy? The ability to generate TestCases for Groovy!
http://youtrack.jetbrains.net/issue/IDEA-68150
April 15th, 2011 at 4:55 am
Test generation works for Groovy in the last EAP.