问题描述
我在 SO 上看到过各种批评 Eclipse Grails 插件的帖子,我想知道是否有人找到了在 Eclipse 中高效使用 Grails 的方法?
I've seen various posts on SO criticising the Eclipse Grails plugin, and am wondering if anyone has found a way to work productively with Grails within Eclipse?
我查看了 Grails 插件页面,那里的信息没有看起来不太有希望,尤其是关于禁用 Groovy 编译器生成类文件"设置的相互矛盾的建议.
I had a look at the Grails plugin page, and the information there doesn't look very promising, particularly the conflicting advice regarding the 'Disable Groovy Compiler Generating Class Files' setting.
推荐答案
原始答案(留下这样人们的投票不会被误传):
Original answer (left so people's votes aren't misrepresented):
Grails 开发者的当前 IDE 状态(截至 09 年 3 月):
Current IDE status (as of Mar '09) for Grails dev:
- IntelliJ Idea 仍然是最好的,但成本高
- NetBeans 6.5 比 6.1 好得多,但在 v1.1 之前发布,不确定 1.1 更改可能对此做了什么.
- Eclipse 还远远落后.然而,SpringSource 是 Eclipse 的主要参与者,他们现在拥有 GOne,Groovy/Grails 的主要开发者.这应该具有加速 Eclipse 插件开发的效果,但目前还没有结果.
现在是 10 年 12 月,事情发生了变化(但不会太大):
It's now Dec '10, and things have changed (but not too much):
- IntelliJ Idea 仍然是最好的,但仅差一点点,而且价格昂贵.
- Eclipse 现在有了 STS(因为 Spring 是主要的开发者),与以前相比,Grails 集成更好,特别是对于新项目.如果您使用的是 Mavenized Grails……您可能仍想坚持使用 IntelliJ.
- NetBeans 6.9.1 已发布,但其 Grails 支持自 6.5 以来停滞不前.它现在是包装的底部.
现在是 15 年 2 月,距离最初的问题已经过去了将近 6 年.很多东西都变了,但很多东西还是一样:
And now it's Feb '15, almost 6 years after the original question. Much has changed, but much remains the same:
- IntelliJ 仍然是最好的,而且幅度越来越大.Grails 3(下个月发布)实际上将允许使用 IntelliJ 的社区(免费)版进行开发
- GGTS(VMWare 创建的 Eclipse 包)从未真正赶上,现在只会更进一步,因为 Pivotal 已停止对 Groovy/Grails 团队的赞助,并且可能也不再推动 GGTS 的开发.
- 说真的,还有人在使用 NetBeans 吗?好吧,我看到他们仍然支持 Grails,但我真的不知道这种支持有多好.我认识的每个人...每个人...都使用 IntelliJ.
这篇关于Grails Eclipse 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!