[ANN]JetGroovy 0.1 beta is available

Hello all.
We are pleased to announce that JetGroovy plugin has been uploaded to plugin manager. The work so far has been concentrated on introducing groovy language support into IntelliJ IDEA. Main feature highlights include: highlighting of syntax errors, formatter, completion and navigation in case type checking or inference succeeds, some refactorings, joint compilation of groovy and java. There are also many smaller features that are better tried than described:)

Looking forward to your feedback,
JetGroovy team.

12 comments
Comment actions Permalink

Very nice, but it's just not IDEA without some intentions and inspections. If I can't automatically trigger DeMorgan's Law transformations with Alt-Enter, I'm not interested. Expect a patch from me within a couple of weeks.

--Dave Griffith

0
Comment actions Permalink

LOL:) It is just not IDEA without you:) Thank you, I appreciate it.

0
Comment actions Permalink

BTW, I think that having intentions is more important at this state of plugin/groovy language development: while many of inspections would require control flow which is under development now, others from java land just do not make sense in groovy or else the language has not stabilized yet to make implementation worth the efforts (like for abstraction issues for example).

Eugene.

0
Comment actions Permalink

Agreed. Indeed, I've already got two intentions working in Groovy (DeMorgans and Merge Nested Ifs). I'd also say that a lot of the Java inspections are just too darn picky for a quick-and-dirty dynamic scripting language. I anticipate a lot of fun with closure-oriented intentions that won't make sense for Java until 7 (if then).

Anyway, I'd feel odd writing inspections for a language I just started working in a few days ago.

--Dave Griffith

0
Comment actions Permalink

Well, Groovy is not only about scripting, it is about having a dynamically-typed solution to the problens that would require too much casts that undermine static type system, or else a type system much more powerful and thus complex than Java has.
And no, I don't think closures will make them into java 7 judging from the silence on the topic during last months.

Eugene.

0
Comment actions Permalink

Hurm, doesn't seem to compile against 7111, which brings the intentions work to a halt. Something about JavaModuleBuilder.setFacetInfos not existing any more. Let me know when I can update.

--Dave Griffith

0
Comment actions Permalink

Yep, idea guys have broken our compilation, I'll figure it out tomorrow.

0
Comment actions Permalink

Here's the first twenty that I got working, including at least a couple of fun closure-related ones.

--Dave Griffith

0
Comment actions Permalink

Now I just want a "did you forget to hit the 'attach' button" inspection.

--Dave Griffith



Attachment(s):
groovy_intentions.patch
0
Comment actions Permalink

Great! I've integrated them into our repository. Makes the plugin even more java-level-pleasurable:) Thank you very much, Dave.

0
Comment actions Permalink

Excellent. Some inspections next, just to keep my hand in...

--Dave Griffith

0

Please sign in to leave a comment.