Tag Archives: Groovy

Grails: debugging GSP

Now IntelliJ IDEA X is able to debug GSPs. You can set breakpoints and view variable values or evaluate expressions.

Posted in Tips & Tricks | Tagged , , , | 10 Comments

Grails: GSP aware of model returned from controller

As you already know, we are working on GSP editing improvements in IntelliJ IDEA X. In particular, now the editor knows about the variables that the controller supplies to the view. Example: Consider an action returning a bookList variable: And … Continue reading

Posted in New Features | Tagged , , , | Leave a comment

Grails: completion of controller and action names

We have added more Grails-specific completion in IntelliJ Idea X. In particular, IntelliJ IDEA now knows about action and controller names in most places where they can appear. In the ‘controller’ and ‘action’ attributes of some GSP tags: In some … Continue reading

Posted in New Features | Tagged , , , | 2 Comments

Grails: Quick navigation between actions and views

IntelliJ Idea X adds quick navigation for Grails actions and GSP pages. Whenever an action has a same-named view, IDEA creates a gutter icon opposite to the action name. Click that icon and the corresponding page is opened: As for … Continue reading

Posted in New Features | Tagged , , , | 1 Comment

Groovy/Groovy++ object creation

Groovy‘s as keyword allows for some interesting features. In particular, it provides a convenient syntactic sugar for object creation: Point point = [4, 2] as Point KeyAdapter listener = [         keyTyped: { e -> … },         keyReleased: { e -> … Continue reading

Posted in New Features | Tagged , | 3 Comments

Groovy stacktrace folding

When you look at a typical Groovy stack trace, you usually see something like this: This is not terribly helpful, since there are only three lines from the actual source code. Everything else refers to Groovy’s internals. From now on, … Continue reading

Posted in New Features | Tagged , , | 19 Comments

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 … Continue reading

Posted in New Features | Tagged , , | Leave a comment

Groovy-related Configuration Changes

The next Maia EAP brings you massive changes in Groovy, Grails, Griffon, Gant & Gradle support, mostly affecting framework configuration. First, Grails/Griffon application options are available when you create a project or a module: You may also choose to import … Continue reading

Posted in New Features | Tagged , , , , , | 7 Comments

Gradle Support

The latest Maia EAP features lightweight support for Gradle build framework. You can add Gradle library to a Groovy facet: You can also run Gradle scripts via Ctrl+Shift+F10 in a script file:

Posted in New Features | Tagged , , | 17 Comments

Intelligent Groovy Coding Assistance

As most of you would know, IntelliJ IDEA includes intelligent Groovy support. We have created two live demos that demonstrate how you can effectively use IntelliJ IDEA to build your Groovy applications: Transparent Groovy Assistance and Groovy Specific Support.

Posted in New Features | Tagged , | Leave a comment