开发者

How to add grails to IntelliJ IDEA

I want to learn grails and i want to use IntelliJ IDEA and my professor said that I co开发者_如何学运维uld connect grails to IntelliJ IDEA but i dont know how. Can you please help me with clear steps on how to do so?

Thanks


For an existing project, I always use:

grails integrate-with --intellij

That'll create .ipr and .iml files for you ready to open up by intellij.


There are a couple of good pages that can help you:

http://www.grails.org/IDEA+Integration

http://www.jetbrains.com/idea/features/groovy_grails.html

You can create your Grails project using Grails console and then import it into IntelliJ or you can create it directly in IntelliJ, I think it is a matter of preference since both ways work just fine.


Create a grails project first through grails commands. Then open idea and use the option import a grails project and point to the directory where you did the init of the grails project. Idea will do the rest.


If you are a windows user, you might be disappointed , as at the moment (may 2016), grails support is removed from windows environment, as can be verified from here: https://blog.jetbrains.com/idea/2015/10/intellij-idea-15-eap-supports-grails-3/ As quoted "We drop the Grails tool window. We’re sorry about it"

So, just download the latest IntelliJ IDEA 15 EAP if you are facing an issue

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜