Groovy
In this section:
- Groovy
- Getting Started with Groovy
- Coding Assistance in Groovy
- Groovy Procedures
- Groovy-Specific Refactorings
- Launching Groovy Interactive Console
Prerequisites
Make sure that the desired SDK is downloaded and installed on your computer, and the libraries are properly configured.
Also, make sure that the Groovy plugin is enabled in IntelliJ IDEA. The plugin is bundled with IntelliJ IDEA and is activated by default. If the plugin is not enabled, enable the plugin.
Groovy support
IntelliJ IDEA enables you to use Groovy language and Groovy-based frameworks.
IntelliJ IDEA supports Groovy versions up to 3.0.
Groovy files are marked with icon.
Groovy support includes:
Ability to add Groovy framework to the Java module dependency.
Ability to create an extension module to support custom extension methods.
Advanced facilities to search through the source code.
Viewing reference information.
Possibility to generate documentation, created according to GroovyDoc syntax.
Possibility to compile mixed Groovy and Java code.
Possibility to create, and perform tests.