New in 10.5: Introduce Refactorings for Groovy

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. Avatar

    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. Avatar

    Taras Tielkes says:

    April 14, 2011


    What about “Unwrap..” for Groovy?

  3. Avatar

    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!

  4. Avatar

    Maxim Medvedev says:

    April 15, 2011

    Test generation works for Groovy in the last EAP.

Discover more