What is the best IDE for groovy/grails projects? I've been using IntelliJ, which has some nice features, but is expensive. Trouble is, as a newcomer to IntelliJ and Grails, there's not much in the way of documentation and tutorials to get you up and running. thanks!
Joined: Nov 01, 2006
From my perspective: best Groovy support is in IntelliJ IDEA, which is commercial but still affordable. If you're a student or work for an open-source project, check out their special offers.
Netbeans has much improved lately, especially in supporting Grails and even Griffon. Check out their regular posts on the topic by Geertjan Wielanga.
Some Java User Groups give away a free license of IntelliJ each month.
IntelliJ has been pretty nice for me. It's been especially nice when doing Grails work because I can write a closure in a taglib class and then immediately have it available in my autocomplete list in GSPs. Much happiness.
A good workman is known by his tools.
Joined: Jul 02, 2001
Hi John, I use Eclipse for Grails development and I am quite satisfied with it, even with the occasional problems with Groovy/Grails projects.
From the start I knew it has the least support (among the mentioned IDEs) for Groovy development but I still went with it because of familiarity with the IDE.
To get auto-complete functionality for GSPs, you will need to associate *.gsp files to the JSP editor then add the grails taglib definition on top of your page.
Eager to see better Groovy/Grails support in Eclipse.
Honestly? I use textpad. I've set up the tools menu to run the groovy interpreter when I press ctrl-1, and to run my test suites when I press ctrl-2. Syntax highlighting is very similar to Java's. I just googled and found a .syn file somewhere online.
For me, I can honestly say this is the best way to write groovy code. Maybe I'll see if IDEA is better at some point (picked up a license at No Fluff way back), but textpad seems to be just fine.
Joined: Oct 09, 2007
I agree with the others who have said that IntelliJ IDEA has the best Groovy support. I've tried Eclipse and Netbeans, and they're just nowhere close to IDEA.