[ANN] Announcing the first public release of GroovyJ for IntelliJ IDEA 5.0

Hi,

The Groovy team is pleased to announce the first public release of GroovyJ - a plug-in that integrates the Groovy language into IntelliJ IDEA.

http://groovy.codehaus.org/GroovyJ+Status lists the features shipped with this initial release.

In a nutshell, with GroovyJ v0.1.1 (Irida):

- a default Groovy runtime is automatically installed as a global library
- Groovy files can be edited with some amount of syntax highlighting
- Run Configurations can be created for runnable Groovy scripts
- Groovy scripts can be run with the output being captured in the embedded console window
- Groovy scripts located under module source/test folders will be automatically compiled when compiling modules


Note: This plug-in is available through IDEA's plug-in manager and requires IntelliJ IDEA 5.0 build #3378 or higher.


Your feedback here will be greatly appreciated.


Regards,

Franck

10 comments
Comment actions Permalink

Franck Rasolo wrote:

The Groovy team is pleased to announce the first public release of GroovyJ - a plug-in that integrates the Groovy language into IntelliJ IDEA.


Haven't checked it out yet, but very cool.

--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

First impression was great!
however i wasn't able to compile to bytecode.
-claude

"Franck Rasolo" <no_mail@jetbrains.com> wrote in message
news:24006208.1120223007740.JavaMail.itn@is.intellij.net...

Hi,

>

The Groovy team is pleased to announce the first public release of
GroovyJ - a plug-in that integrates the Groovy language into
IntelliJ IDEA.

>

http://groovy.codehaus.org/GroovyJ+Status lists the features shipped with
this initial release.

>

In a nutshell, with GroovyJ v0.1.1 (Irida):

>

- a default Groovy runtime is automatically installed as a +global
library+
- Groovy files can be edited with some amount of syntax highlighting
- Run Configurations can be created for runnable Groovy scripts
- Groovy scripts can be run with the output being captured in the embedded
console window
- Groovy scripts located under module source/test folders will be
automatically compiled when compiling modules

>
>

Note: This plug-in is available through IDEA's plug-in manager and
requires IntelliJ IDEA 5.0 build #3378 or higher.

>
>

Your feedback here will be greatly appreciated.

>
>

Regards,

>

Franck

>



0
Comment actions Permalink

Claude,

I could help troubleshoot this if you would share some information about your setup and a description of what failed to compile.

Thanks

Franck

0
Comment actions Permalink

Hi Franck
i just downloaded the groovy-plugin with the plugin manager within Build
3386.
the problem is, that compile is not enabled at all. not from the Build-menu
and not from the context-menu on a ".groovy" file.

i attached the file i used for my tests.

running the test-script runs fine.
-claude

"Franck Rasolo" <no_mail@jetbrains.com> wrote in message
news:23375565.1120462018398.JavaMail.itn@is.intellij.net...

Claude,

>

I could help troubleshoot this if you would share some information about
your setup and a description of what failed to compile.

>

Thanks

>

Franck






Attachment(s):
test.groovy
0
Comment actions Permalink

Hi Claude,

The possibility of compiling individual scripts requires missing hooks in IDEA's Open API as IDEA only enables the Compile action for modules, source/test folders, packages, and individual Java classes.

As a workaround for now, you may add, say, "?*.groovy" to the list of Resource Patterns under the Project Settings > Compiler dialog to enable the Compile action for individual scripts.

Hope that helps.

Regards,

Franck

0
Comment actions Permalink

I have just logged a request under http://www.jetbrains.net/jira/browse/IDEA-3261 and I would encourage you to vote for it since it has affected your experience of the plug-in.

0
Comment actions Permalink

+1 from me (voted) :)

Franck Rasolo wrote:

I have just logged a request under http://www.jetbrains.net/jira/browse/IDEA-3261 and I would encourage you to vote for it since it has affected your experience of the plug-in.

0
Comment actions Permalink

thanks for your answer.
+1 (voted)

"Franck Rasolo" <no_mail@jetbrains.com> wrote in message
news:2528410.1120513251830.JavaMail.itn@is.intellij.net...
>I have just logged a request under
>http://www.jetbrains.net/jira/browse/IDEA-3261 and I would encourage you to
>vote for it since it has affected your experience of the plug-in.



0
Comment actions Permalink

Hi Franck,
It seems like GroovyJ breaks "Colors and Fonts" panel in global settings:

org.codehaus.groovy.antlr.UnicodeEscapingReader.setLexer(Lantlr/CharScanner;)V
java.lang.NoSuchMethodError: org.codehaus.groovy.antlr.UnicodeEscapingReader.setLexer(Lantlr/CharScanner;)V
at org.codehaus.groovy.intellij.language.GroovyLexerAdapter.start(GroovyLexerAdapter.java:82)
at org.codehaus.groovy.intellij.language.GroovyLexerAdapter.start(GroovyLexerAdapter.java:71)
at org.codehaus.groovy.intellij.language.GroovyLexerAdapter.start(GroovyLexerAdapter.java:67)
at org.codehaus.groovy.intellij.language.GroovyPsiBuilder.(GroovyPsiBuilder.java:69) at org.codehaus.groovy.intellij.language.editor.GroovyFileHighlighter.getHighlightingLexer(GroovyFileHighlighter.java:54) at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.(LexerEditorHighlighter.java:113) at com.intellij.ide.highlighter.HighlighterFactory.createHighlighter(HighlighterFactory.java:7) at com.intellij.application.options.colors.ColorAndFontPanel.a(ColorAndFontPanel.java:55) at com.intellij.application.options.colors.ColorAndFontPanel.b(ColorAndFontPanel.java:39) at com.intellij.application.options.colors.ColorAndFontPanel.]]>(ColorAndFontPanel.java:89)

0
Comment actions Permalink

Hi Andrei,

Thanks for reporting this bug. It will be fixed in the next release due out very shortly now that build #3394 is out.

Regards,

Franck

0

Please sign in to leave a comment.