New in 10.5: Introduce Refactorings for Groovy

Posted on by Maxim Medvedev

In 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.
Introduce parameter dialog

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.

Comments below can no longer be edited.

4 Responses to New in 10.5: Introduce Refactorings for Groovy

  1. Erik Pragt says:

    April 13, 2011

    It’s great to see that the Groovy refactorings get some more love from you guys. Great work, keep it up!

  2. Taras Tielkes says:

    April 14, 2011

    +1

    What about “Unwrap..” for Groovy?
    http://youtrack.jetbrains.net/issue/IDEA-45767

  3. stlum9495 says:

    April 15, 2011

    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

  4. Maxim Medvedev says:

    April 15, 2011

    Test generation works for Groovy in the last EAP.

Subscribe

Subscribe for updates