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
Sign Up
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
<img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3RvYzptYXhMZXZlbD0yfGluZGVudD0yMHB4fHN0eWxlPWRpc2N9&locale=en_GB&version=2" data-macro-name="toc" data-macro-parameters="indent=20px|maxLevel=2|style=disc"> <h2>Overview</h2> <p>Today, the Groovy-Eclipse team has released milestone 2 of Groovy-Eclipse, tool support for the <a href="http://groovy.codehaus.org">Groovy</a> programming language built in <a href="http://eclipse.org">Eclipse</a>. In this milestone release, we have focused on responsiveness and features in the user interface. This milestone is significantly more stable than milestone 1 as we have <a class="confluence-link" href="#issuesfixed" data-anchor="issuesfixed" data-linked-resource-default-alias="issuesfixed" data-base-url="http://docs.codehaus.org">fixed over 100 issues</a> in the bug tracker.</p> <table class="wysiwyg-macro" data-macro-name="info" data-macro-parameters="title=Groovy-Eclipse M2 update site" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2luZm86dGl0bGU9R3Jvb3Z5LUVjbGlwc2UgTTIgdXBkYXRlIHNpdGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="RICH_TEXT"><tr><td class="wysiwyg-macro-body"> <p>To install M2, add the following URL to your Eclipse update manager:<br /> <code><a class="external-link" href="http://dist.springsource.org/milestone/GRECLIPSE/e3.5/" rel="nofollow">http://dist.springsource.org/milestone/GRECLIPSE/e3.5/</a></code></p></td></tr></table> <h2>Inferencing Engine</h2> <p>The <a href="http://contraptionsforprogramming.blogspot.com/2009/11/how-type-inferencing-for-groovy-in.html">inferencing engine</a> now forms the core of many of Groovy-Eclipse's most prominent features. The inferencing engine is uses static analysis to infer the type of a single or a group of expressions of Groovy code. it is being used as the basis for content assist, navigation, search, and discovering unknown references. We have posted a <a href="http://contraptionsforprogramming.blogspot.com/2009/11/how-type-inferencing-for-groovy-in.html">detailed description</a> of the inferencing engine.</p> <h2>Refactoring Support</h2> <p><a href="http://contraptionsforprogramming.blogspot.com/2009/11/new-cross-language-refactoring-support.html">Cross-language refactoring support</a> is now available in Groovy-Eclipse. Now, when renaming Java methods, fields, and classes, your Groovy code will be updated as well. And the reverse is true. You can find more information <a href="http://contraptionsforprogramming.blogspot.com/2009/11/new-cross-language-refactoring-support.html">here</a>.</p> <h2>Task Tags</h2> <p>The Groovy compiler now parses task tags such as <code>TODO</code>, <code>FIXME</code>, and <code>XXX</code>. They are treated by Eclipse in the same way that Java task tags are. Task tags are configurable and can be viewed in the <em>Tasks</em> view. More detailed information can be found <a href="http://andrewclement.blogspot.com/2009/12/groovy-eclipse-task-tags.html">here</a>.</p> <h2>Content Assist and Navigation in GStrings</h2> <p>Content assist and navigation are now supported inside of GStrings. For example, in the following image, content assist will display both local variables:<br /> <img class="confluence-embedded-image confluence-content-image-border image-center" src="/download/attachments/231082325/gstring_contentassist.gif?version=1&modificationDate=1371635474438" data-image-src="/download/attachments/231082325/gstring_contentassist.gif?version=1&modificationDate=1371635474438" data-linked-resource-id="231377093" data-linked-resource-type="attachment" data-linked-resource-default-alias="gstring_contentassist.gif" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231082325" title="null > gstring_contentassist.gif"></p> <p>Notice also that the <code>x</code> is underlined. This is because the <code>x</code> reference is undefined in the current scope. See the description of the <a href="http://contraptionsforprogramming.blogspot.com/2009/11/how-type-inferencing-for-groovy-in.html">inferencing engine</a> for more information on this.</p> <p>CTRL-Click (or CMD-Click on Mac) will follow a hyperlink to the definition of whatever is being hovered over (pressing F3 will have the same effect):</p> <p><img class="confluence-embedded-image confluence-content-image-border image-center" src="/download/attachments/231082325/gstring_nav1.gif?version=1&modificationDate=1371635474428" data-image-src="/download/attachments/231082325/gstring_nav1.gif?version=1&modificationDate=1371635474428" data-linked-resource-id="231377092" data-linked-resource-type="attachment" data-linked-resource-default-alias="gstring_nav1.gif" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231082325" title="null > gstring_nav1.gif"></p> <h2>Extensibility for custom DSLs</h2> <p>Also included in M2 are extension points for custom DSLs to hook into Groovy-Eclipse's inferencing engine, content assist, and syntax highlighting. This is still basic work and will be more fully announced for RC1. This extensibility is particularly suited for implementing <a href="http://grails.org">Grails</a> <a href="http://www.grails.org/STS+Integration">tool support in STS</a>, but it is generic enough for any Groovy DSL to use.</p> <p><img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e2FuY2hvcjppc3N1ZXNmaXhlZH0&locale=en_GB&version=2" data-macro-name="anchor" data-macro-default-parameter="issuesfixed"></p> <h2>Issues fixed</h2> <img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e2ppcmFpc3N1ZXM6dGl0bGU9SXNzdWVzIGFkZHJlc3NlZCBmb3IgTTJ8Y29sdW1ucz10eXBlO2tleTtzdW1tYXJ5fHVybD1odHRwOi8vamlyYS5jb2RlaGF1cy5vcmcvc3IvamlyYS5pc3N1ZXZpZXdzOnNlYXJjaHJlcXVlc3QteG1sLzEzNTI2L1NlYXJjaFJlcXVlc3QtMTM1MjYueG1sP3RlbXBNYXg9MTAwMH0&locale=en_GB&version=2" data-macro-name="jiraissues" data-macro-parameters="columns=type;key;summary|title=Issues addressed for M2|url=http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/13526/SearchRequest-13526.xml?tempMax\=1000"> <p>If the above doesn't show for you, go directly to the <a href="http://jira.codehaus.org/secure/IssueNavigator.jspa?mode=hide&requestId=13526">jira issue tracker</a></p> <h2>Thanks</h2> <p>Thank you to the community for diligently trying out new releases, raising bugs, suggesting fixes, and discussing features. If you want to participate in the discussion, join the <a href="http://xircles.codehaus.org/manage_email/eclipse-plugin-user@groovy.codehaus.org">mailing list</a> and raise bugs in our <a href="http://jira.codehaus.org/browse/GRECLIPSE">issue tracker</a>.</p>
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