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 2.4.
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.
- Coding assistance.
- Common and specific refactorings.
- Numerous ways to navigate through the source code, among them:
- Navigating with Structure View.
- (Ctrl+B).
- (Ctrl+Alt+B) from overridden method / subclassed class.
- 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.
- Running and debugging.
- Possibility to create, and perform tests.
See Also
Concepts:
External Links:
Last modified: 18 July 2017