New version is available via plugin manager

Hi All,

nwe've uploaded new version of JetGroovy plugin in plugin manager. The new features include:
-gsp support
-grails domain classes diagram
-numerous intentions (contributed by Dave Griffith)
-Flow sensitive type inference, i.e. in the code below types are inferred correctly for the second assignment:

def i = 0
i = "Reassigned to string"
def lower = i.toLowerCase()

Type information is also propagated through other control flow statements,

-generics are now taken into account in navigation and completion
-navigation to super methods and marking overridden methods in the gutter
-new errors highlighted in he editor
-navigation to library sources in groovy is supported
-numerouse bug fixes

The new build requires last IDEA eap 7269.

Enjoy,
Eugene.

6 comments
Comment actions Permalink

Thanks Eugene,
For some reason, debugging doesn't seem to work with this build (I'm on a Mac, if that's an issue). The debugger sails right through any breakpoints. Any one else seeing this behavior?

Adam

0
Comment actions Permalink

I'm seeing a similar issue, debugging is not working but there is no relevant source code found. This is with both debugging a grails app from IDEA and attaching remotely.

I'm running grails 0.6, jdk 1.5_12, IDEA 7 #7269, on XP.

I can't even debug groovy scripts anymore. Anyone else seeing this?

0
Comment actions Permalink

debugging works for me in Scripts but not in Grails closures.
(I needed to uncheck the 'make before run' checkbox)

Dierk

0
Comment actions Permalink

Let me add some words about new version of Jet-Groovy plug-in.
It would be better to update it to today's (september, 11) version because of some bugs that had place in GSP formatter.

0
Comment actions Permalink

I've upgrade to the latest Selena & JetGroovy with no luck. I tried unchecking 'make' like Dirk suggested.

Any other ideas as it should work at least for scripts? I'm using #7274, .1687 JetGroovy, 0.6 Grails, and jdk 1.5_12.

thanks much.
-Brandon

0
Comment actions Permalink

Well, I fixed several bugs here, but the problem still remains with compiler not generating correct line number table sometimes. For example in th following code:

class A {
def foo = {
print 0
}

def bar () {
print 8
}
}

line numbers get correctly generated for 'foo' closure, but not for 'A' class itself,
and calling getAllLineLocations() consequently fails with AbsentInformationException.

0

Please sign in to leave a comment.