wish: GROOOVY PLUGIN

Hi Jetbrains Folks!
Recently I heard that you were looking into adding groovy support for Selena. I am a long time intellij user (since 2.0 was in Beta I believe) and recently I started working on a grails project.

*Please let me know if there is anything I can do to help. I am willing to help in many ways. *

A few suggestions that I would be willing to do if it would help:

1. Use the EAP versions and help provide feedback, bugs, etc.
2. Purchase in advance an upgrade license for Intellij 7.0 (Selena) to supplement the development costs for a Groovy plugin.
3.Provide updates for the progress of the Plugin to the Groovy community.

I know it's not much but just wanted to provide what support I can.
Thanks!
-Steve

8 comments

Hello Steve,

Thank you for you suggestions. We will indeed try to open EAP asap. Meanwhile we'd like to know how your Groovy projects are structured: Is it pure groovy/grails or do you have also some bits of java?

Eugene.

0

Hi Eugene!
I am only currently working on one Grails project and it is purely groovy/grails. But I use Groovy for builds, file I/O, etc on my Java Projects. I think in most cases I would be integrating Java and Groovy/Grails. Possibly even inserting grails into existing projects that already use hibernate and JSPs (since grails can work with both).
Thanks so much for the response!
-Steve

0

Hi Eugene,

I am also very interested in Idea Groovy support. I will offer any feedback and assistance I can as well since I'm using it in my open source project. I currently do not use Grails only pure groovy. In addition I manage my projects with Maven2 so Maven2 support would also be a plus. I lay my projects out in M2 format:

proj


*--src

*--main

*--groovy

*--resources


*--test

*--groovy
|
*--resources

So far the latest groovy plugin has been working for me in Selena. There does seem to be a bug that occurrs after about an hour or so causing my editor cursor to disappear. I like that I can directly run Groovy files the same way that I can run Java files. I've also had an issue with JUnit integration. It seems that compiled Groovy classes that extend TestCase are not available to the Idea JUnit test runner even in the Run configuration dialog. This is critical to the development of my open source GSpec project as it is the very thing I've been working on. Any assistance you could offer me would be highly appreciated. Thanks in advance.

Cliff

0

Folks,

If you really want to assist with Groovy plugin, this is the place to start http://www.jetbrains.net/jira/browse/IDEA-11927 (filed in Groovy's JIRA, but seem to have no response).

Without that fix, the plugin is dead on Selena before birth even.

0

Hi Andrew!
It appears there is some work to do. But if Jetbrains takes the lead on the development of the plugin I'm confident they will fix this issue. Tell me if I'm wrong but it appears to be a problem with the plugin itself and Jetbrains was saying they wouldn't fix the bug as it was not a problem with core IDEA.

I would think we should try to revisit this once Jetbrains opens GroovyJ in the EAP.

0

The problem with core IDEA was the missing API (and not deprecated, as usual). Anyway, I can understand it, it's EAP after all...

AFAICT, JetBrains guys are focusing on the parser at the moment, so it we can locate the matching API calls in Selena for the plugin and submit the fix, that'll speed things up ;)

0

What does "AFAICT" mean?

Anyway, I'm not real familiar with the Plugin although I downloaded the source and poked through it. I think (I could definitely be wrong here) that the reason the plugin has stalled in the first place is because writing a language plugin is pretty major work and the IDEA openAPI is not for the faint of heart. Jetbrains has experienced developers who have written the Javascript and Ruby plugins so I imagine they have a much better idea how this ought to be handled.

That being said, if you decide to look into it please talk about it here or on the Groovy-user list. If I get more familiar with the source code I'd be happy to contribute.

Thanks!

0

What does "AFAICT" mean?


As Far As I Can Tell

l337 rox0rz, n00b :P

0

Please sign in to leave a comment.