Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

best groovy/grails ide?

 
John Holme
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Dierk K├Ânig
author
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Eclipse is ok but a bit behind the others.

cheers
Dierk
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

HTH.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse does not support debugging right ?
 
Jason Mayer
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Josh Brown
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic