The plugin is in the making. Plugin homepage can be found on JetBrains wiki.
Attached are compiled alpha versions:
groovy-selena7020-v8866.zip,
groovy_selena7027_rev9073.zip,
groovy_selena7051_rev9366.zip,
groovy_selena7065_rev9426.zip.
JetBrains also seem to provide their own stable builds.
Download the appropriate Selena EAP version from JetBrains and unzip the attached file into your plugins dir.
Please be aware that this version is not yet supposed to be stable (but it works pretty well for me --Dierk).
Brief feature list:
Editing
- Syntax highlighting
- Error highlighting
o Unresolved classes marked as errors
o Unresolved unqualified properties marked as warnings
o Incompatible types assignments marked as warnings
o Inapplicable method calls marked as warnings - Code folding
- Code formatter
- Comments and "To Do" view support
- "add missing import" intention
Execution, Debugging & Compilation
- Debugging support (setting breakpoints, view stack)
- GDK configuration
- Grails configuration
- Run configuration for Groovy scripts
- Make or rebuild java+groovy project entire
Code Completion
- context sensitive keyword completion
- Completion of methods, fields, classes
o Completion makes use of type inference
o Default methods completed
o Swing builder methods are completed, swing properties are completed in method argument list - Resolve
o Resolve groovy to groovy classes, methods, fields
o Resolve groovy to java classes, methods, fields
o Resolve java to groovy classes, methods, fields
Surround with (Alt+Ctrl+T)
- if () {} / else {}
- while () {}
- try / catch / finally
- closure {}
- (Type) expr
Introduce variable (Alt+Ctrl+V)
- Introduce variable
- Offer the default type and variable name
Structure view
Shows
- classes
- methods
- fields
found in groovy file
File structure (Ctrl+F12)
- The popup window contains classes, methods, fields.
Find usage (Alt+F7)
- Implements groovy classes search
Class search (Ctrl+N)
- Searches class by prefix of class groovy name
Grails
- Grails SDK configuration
- Grails controller, view, domain class, job, script, service, taglib creation
- Grails generators are built in; output to console
A detailed description of features can be found on JetGroovy features page
A user wish list is available: