tags:

views:

6143

answers:

13

I am starting a project with Grails since I already use Eclipse, it was my first choice. But I don´t think its good enough, had some problems and the plugging is poor in functionalities.

Anyone uses/tested others IDEs(NetBeans, InteliJ(not free)...)?

Which one is the best?

thanks.

+25  A: 

I switched to IntelliJ for its excellent (better than Eclipse & Netbeans at the time) Groovy and Grails support.

For an overview of Groovy and Grails related features of IntelliJ have a look here.

Update: a free and open source community edition of IntelliJ is now available here. The free version includes all Groovy features. The Grails features are only available in the Ultimate edition.

Since release 9.0.2 support for custom Groovy DSLs is available. Sure hope that more Groovy library providers will bundle gdsl definitions, like GPars already does.

New features and improvements coming in IntelliJ X (currently in EAP):

  • Groovy++ support
  • Improved code completion in GSP's (for model returned from controller, inline variables defined with g:set or g:each, controller name and actions, ... )
  • Grails domain classes: support for the mapping DSL and the constraint DSL
  • Grails queries: support for named queries and the criteria DSL
Ruben
unfortunate for those indie developers or hobbyists who cannot afford the rather steep licensing costs for intellij. But it is the best out there, and perhaps jetbrain does deserve the money.
Chii
Steep? Well, expensive compared to Eclipse, but much cheaper than commercial Java IDEs were around the year 2000
Steve McLeod
And in the mean time an open source Community edition of IntelliJ is available. The Groovy features are included in this free edition, the Grails features are only available in the Ultimate edition.
Ruben
249 USD for a full-featured IDE is not a bad deal. 99 USD for academics.
cliff.meyers
@cliff 99 USD is quite a number down here. Not unreachable, but still, it will make you think twice.
Tom
+12  A: 

Netbeans 6.5 has Groovy/Grails support (code completion, etc.) baked in, and it's free. IntelliJ is arguably better but it costs you.

I've used both and I'd say they are about equivalent (obviously some small differences), so give Netbeans a shot. If not, buy IntelliJ.

http://www.netbeans.org

Eric Wendelin
I have to say, the Groovy/Grails support in IntelliJ is brilliant.
Hates_
A lot of things about IntelliJ are brilliant. Both IDEs have their quirks, and *for the moment* I like Netbeans, but I tend to switch back and forth.
Eric Wendelin
Ruben
I think both Netbeans and Eclipse do great at standard Groovy support...Netbeans edges out eclipse for grails but not everything is supported and thus has to be completed using the command line interface.
Eric W
+2  A: 

I took advantage of InteliJ's free trial and I did like it, but not enough to pay for it. I am using NetBeans 6.5 and it works well. If cost didn't matter I might choose IntelliJ but there is no compelling feature that makes me say that. One thing I did not try in IntelliJ was application server integration. NetBeans integrates extremely well with GlassFish but you do have to install GlassFish locally in order to use it with remote servers.

Ed.T
+2  A: 

Actually, Eclipse really has worked great for me and seems to be the best free solution. IntelliJ is far too expensive for being only slightly better than Eclipse (if even that).

Epaga
I tried Netbeans, is much, much better than Eclipse.
fernandogarcez
+1  A: 

I use IntelliJ myself and it has an excellent Groovy/Grails support but if you do not want to spend money on it then give NetBeans 6.5 a try See here for how to integrate grails with NetBeans

andHapp
+4  A: 

You say, "I am starting a project." Is that project open source or proprietary? If it's open source, it might be eligible for a free IntelliJ license from JetBrains. I don't know if your project would qualify, but you should at least check it out.

I've done some work with Groovy/Grails in IntelliJ and have been really happy with it.

Matt Passell
+2  A: 

If you don't want to spend money, try Netbeans 6.5. The two main advantages over Eclipse are the categorized project view (split up in Domain Classes, Controllers, Views etc.) and some Grails commands built-in in the context menu (such as "generate-all"). In my experience, the code completion in GSP is hit-and-miss - it sometimes works, it sometimes doesn't. On the downside, Netbeans is dog-slow at times (mark two lines, indent them with [Tab] and wait two seconds for the lines to shift) and has the really annoying feature to scan all your projects at start-up.

If you go for Netbeans, download the Java version and then add Groovy & Grails. You can remove a lot of the default plugins for increased speed.

Karsten Silz
A: 

I have used Intellij and Eclipse for Grails development. I find IntelliJ better for grails (although I generally use Eclipse for most development, including Rails). IntelliJ seems more cohesive - easier to set things up and connect things together. It also seems to have better support for Groovy, which is extremely helpful.

johnbr
+2  A: 

I have tried out both Eclipse (STS 2.2.0) and Netbeans (6.7.1) for grails development. Feature-wise Netbeans looks richer. Netbeans provides decent support for code completion of dynamic finders. However, it has no support for GSP code completion. GSP code completion feature is planned for Netbeans 6.8 release. Hope it makes it. The Spring Tools Suite apparently looked very promising when I read about it but it was quite a disappointment. It provides support for a grails project creation and provides a window inside Eclipse (STS is Eclipse with the Spring Tools) to fire grails command. No support is available for contextual code completion in either gsp or grails specific groovy code. However, the groovy eclipse plugin is quite powerful. So, right now I have personally reverted to using a text editor and the grails command line. Will have to wait till decent contextual code completion support is available. I have not yet tried intellij idea.

hbagchi
+5  A: 

I like the Spring's Eclipse Version: STS (http://www.springsource.com/products/sts), install the latest Groovy and Grails plugins and it works well.

I use eclipse for Java so i find it much more natural to use than IntelliJ.

Sam
+1  A: 

Spending time dealing with IDEs that are not mature for Grails, could COST YOU MORE than buying a license to JetBrains and its excellent product: IntelliJ IDEA.

I think STS will rule them all, but just passed one year since I started with Grails and it's not that good yet.

Maybe one more year... 'Til that, I'm going very productive with IDEA =)

Wanderson Santos
A: 

I use netbeans and STS for me STS is better .

Gabriel
A: 

Same deal, new to Grails and checking out IDEs.

Eclipse and STS are mediocre for Groovy/Grails at this point, although in future, since STS owns Grails, STS should get up-to-speed. Netbeans 6.8 looks great, the perfect fit, and free, but code completion is absurdly slow on OSX.

I'd go with IntelliJ, not free, but $250 is worth it, decent code completion alone is worth the price tag.

MVC You Know Me
You should give STS another try : the latest Milestone version has a cool Grails perspective that looks preety much like IntelliJ's...
Philippe
I will do that, I've switched to Linux workstation and Intellij code completion is less than impressive (the number must-have for me in an IDE).
MVC You Know Me
Netbeans 6.9.1, Groovy code completion utterly painful. STS came out with 2.5 RC1 today. Downloaded, installed, magic, the search is indeed over ;--) STS's latest release is impressive, awesome, snappy code completion (ctrl-space and alt-/ are clearly gifts from above) and easy-to-navigate interface for Groovy/Grails devel. Much relieved...
MVC You Know Me