Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Dashboard
Groovy
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>JetBrains, the makers of IntelliJ IDEA, are continually working on improving support for Groovy, Grails, Griffon, Gradle as well as other GR8 technologies. Check out the latest news and tips and tricks at the <a href="http://jetbrains.dzone.com/">JetBrains DZone</a> or the <a href="http://blogs.jetbrains.com/idea/?utm_source=groovy_home&utm_media=Docs">IntelliJ IDEA blog</a>. Consider also watching some of the <a href="http://www.jetbrains.com/idea/training/demos.html?utm_source=groovy_home&utm_media=Docs">practical screencasts</a>.</p> <h1>Download & Installation </h1> <p>Groovy support comes bundled with IntelliJ IDEA since version 8.</p> <p>For IntelliJ IDEA version 7 you need to install the plugin via the IDEA plugin manager (you can find it listed as "JetGroovy"). After installing the plugin via the plugin manager, you will have to restart idea and then configure the plugin via the settings panel so that the plugin knows where to find your Groovy and (optionally) Grails installation directories.</p> <h1>Features</h1> <p>The Groovy support in IntelliJ IDEA provides a rich set of features for development with Groovy, Grails, Gradle, Griffon or GAnt. Here, we're listing the main features, but you can find out more on <a href="http://www.jetbrains.net/confluence/display/GRVY/Groovy+language+features">JetGroovy Groovy features page</a> and the <a href="http://www.jetbrains.net/confluence/display/GRVY/Grails+application+features">JetGroovy Grails features page</a>.</p> <h2><strong>Editing</strong></h2> <ul> <li>Syntax highlighting</li> <li>Error highlighting<br /> o Unresolved classes marked as errors<br /> o Unresolved unqualified properties marked as warnings<br /> o Incompatible types assignments marked as warnings<br /> o Inapplicable method calls marked as warnings</li> <li>Code folding</li> <li>Code formatter</li> <li>Comments and "To Do" view support</li> <li>"add missing import" intention</li> <li>Various refactorings <ul> <li>move, rename variables, etc</li> </ul> </li> </ul> <h2><strong>Execution, Debugging & Compilation</strong></h2> <ul> <li>Debugging support (setting breakpoints, view stack)</li> </ul> <ul> <li>GDK configuration</li> <li>Grails configuration</li> <li>Run configuration for Groovy scripts</li> <li>Make or rebuild java+groovy project entire</li> </ul> <h2><strong>Code Completion</strong></h2> <ul> <li>context sensitive keyword completion</li> <li>Completion of methods, fields, classes<br /> o Completion makes use of type inference<br /> o Default methods completed<br /> o Swing builder methods are completed, swing properties are completed in method argument list</li> <li>Resolve<br /> o Resolve groovy to groovy classes, methods, fields<br /> o Resolve groovy to java classes, methods, fields<br /> o Resolve java to groovy classes, methods, fields</li> </ul> <h2><strong>Surround with (Alt+Ctrl+T)</strong></h2> <ul> <li>if () {} / else {}</li> <li>while () {}</li> <li>try / catch / finally</li> <li>closure {}</li> <li>(Type) expr</li> </ul> <h2><strong>Introduce variable (Alt+Ctrl+V)</strong></h2> <ul> <li>Introduce variable</li> <li>Offer the default type and variable name</li> </ul> <h2><strong>Structure view</strong></h2> <h2><strong>Shows</strong></h2> <ul> <li>classes</li> <li>methods</li> <li>fields<br /> found in groovy file</li> </ul> <h2><strong>File structure (Ctrl+F12)</strong></h2> <ul> <li>The popup window contains classes, methods, fields.</li> </ul> <h2><strong>Find usage (Alt+F7)</strong></h2> <ul> <li>Implements groovy classes search</li> </ul> <h2><strong>Class search (Ctrl+N)</strong></h2> <ul> <li>Searches class by prefix of class groovy name</li> </ul> <h2><strong>Grails</strong></h2> <ul> <li>Grails SDK configuration</li> <li>Grails controller, view, domain class, job, script, service, taglib creation</li> <li>Grails generators are built in; output to console</li> </ul> <h3>Wish list</h3> <p>A user wish list is available:</p> <img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e2NoaWxkcmVuOmFsbD10cnVlfQ&locale=en_GB&version=2" data-macro-name="children" data-macro-parameters="all=true">
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced