New in 10.5: Create and open tests for Groovy classes faster
We've added a couple of new productivity features in IntelliJ IDEA 10.5 to make working with Groovy tests two bits more pleasant: 1. Now you can create tests for Groovy classes the same way you do in Java. You just need to invoke Create Test intention on the header of the class. 2. To navigate to an existing test from a class you can invoke Go to Test action (Ctrl+Shift+T by default). Make sure
Quick prototyping in Groovy with “Convert Map to Class” intention
Sometimes it is helpful to use a Map for fast prototyping of classes with some properties but without any logic. But in the end it would be nice to have a real class. In IntelliJ IDEA you can get it by invoking "Convert Map to Class" intention on a map. You only need to type a name and a package for a new class: And you'll get something like this... and a UserInfo class: Quick and easy, r
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. The second one is Introduce Field which provides you with an ability to quickly create a new field from a
New String-related Intentions for Groovy
With the latest Maia EAP Groovy language support is improved with several new GStrings intention actions. Now you can convert string concatenations to GStrings... ...and back simply by pressing Alt+Enter, Enter. Also, IntelliJ IDEA is now aware of that braces can be skipped in some GString injections.