Home> Products> IntelliJ IDEA> Features & Screenshots> Groovy & Grails

Groovy and Grails

Groovy
Grails

IntelliJ IDEA 7 is an intelligent Groovy IDE, which enables productive Groovy programming with: Groovy code editor with advanced coding assistance, smart completion, code quality maintenance with intelligent code inspections, quick-fixes, refactorings and more, plus Groovy on Grails support with dedicated visual application ER diagram, complete Groovy Server Pages support, including full coding assistance for inline Groovy code and markup, all tied together to create an excellent Groovy and Grails development environment.

All these features are available via dedicated Jet Groovy Plugin. You can download it from IntelliJ IDEA Plugin Repository or install via built-in Plugin Manager.

Groovy

Groovy-aware debugger

Groovy-aware debugger

IntelliJ IDEA best of the breed Java debugger power is at your disposal when you debug Groovy code: it is completely Groovy-aware, handles mixed Groovy/Java code and supports Groovy expressions evaluation.

to the top

Advanced Mixed-Language compiler

IntelliJ IDEA supports the smart Groovy compiler, which understands both Groovy and Java code and lets you seamlessly compile mixed-language projects.

to the top

Context-sensitive, type inference-aware code completion

IntelliJ IDEA offers smart Groovy coding assistance, capable of cross-resolution between Groovy and Java classes, methods and fields. Its advanced code completion helps you with:

  • Dynamic properties and methods
  • Dynamic properties and methods
  • Property and method references in Groovy files
  • Methods, fields, classes and keywords
  • Groovy Completion
  • Default methods
  • Swing builder methods and Swing properties
  • Groovy Swing Completion

to the top

Smart code navigation assistance with structure view, class and usage search

IntelliJ IDEA features smart navigation around Groovy and Java code which lets you jump from one part of your project to another, quickly search for methods, variables and fields declaration and usages and to track everything via advanced navigation history.

to the top

Code formatting, highlighting and folding

IntelliJ IDEA colors, formats and folds your code to improve readability and make it easier to locate various code elements. You can also use the built-in templates to quickly modify arbitrary parts of the code.

to the top

Numerous code inspections and quick-fixes

IntelliJ IDEA thoroughly inspects source code and hunts various types of errors on-the-fly. It also highlights them in the code, suggesting automatic quick-fixes for almost any problem.

  • Create field, variable or method from usage
  • Spot unused assignments
  • Spot variables that are not initialized before use
  • InspectorGroovy inspections bundled

to the top

Support for GroovyDoc

IntelliJ IDEA lets you quickly lookup and create GroovyDoc annotations to document your code. All coding assistance works fine inside of GroovyDoc and comments.

  • Automatic resolution and usage search
  • Coding assistance inside of the comments body
  • Support for GroovyDoc

to the top

Groovy application testing

Fully integrating with JUnit and TestNG for improved automatic testing

to the top

Groovy-aware refactorings and imports optimization

With IntelliJ IDEA you can easily transform your code using the rich set of cross-language refactorings that are capable of working across Groovy and Java code.

  • Extract method
  • Extract variable
  • Inline method

to the top

Grails

Dedicated Grails SDK configuration for running and debugging Grails applications

With IntelliJ IDEA you can easily run, deploy and debug your Grails applications, with the help of the built-in run configuration.

to the top

Built-in Grails generators

IntelliJ IDEA features the support for built-in generators that let you quickly create various elements for your Grails applications:

  • Controllers
  • Views
  • Domain classes
  • Jobs
  • Scripts
  • Services
  • Taglibs

to the top

Groovy Server Pages (GSP) support

IntelliJ IDEA provides you the complete coding assistance when you're writing GSP code. It fully understands your project structure and provides smart completion for:

  • Inline Groovy code
  • GSP markup
  • JavaScript code, both in g:javascript and script tags
  • JavaScript code, both in g:javascript and script tags

Coding assistance features also support implicit properties and custom tags defined in Groovy code

implicit properties support

to the top

Support for Grails plugins

All installed Grails plugins are automatically added to project modules, and their classes and libraries become available for code completion and other assisting features.

to the top

Grails application ER diagram

With dedicated Grails Application ER diagram you can easily analyze your application structure and see, create and modify relationships between the application elements.

Click to enlarge

Open the screenshot in a new browser window


to the top