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.

This entry was posted in New Features and tagged , , . Bookmark the permalink.

4 Responses to New in 10.5: Introduce Refactorings for Groovy

  1. Erik Pragt says:

    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:

    +1

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

  3. stlum9495 says:

    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:

    Test generation works for Groovy in the last EAP.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">