[ACCEPTED]-How to add grails to IntelliJ IDEA-intellij-idea
For an existing project, I always use:
grails integrate-with --intellij
That'll 2 create .ipr and .iml files for you ready 1 to open up by intellij.
There are a couple of good pages that can 5 help you:
http://www.grails.org/IDEA+Integration
http://www.jetbrains.com/idea/features/groovy_grails.html
You can create your Grails project 4 using Grails console and then import it 3 into IntelliJ or you can create it directly 2 in IntelliJ, I think it is a matter of preference 1 since both ways work just fine.
Create a grails project first through grails commands. Then 4 open idea and use the option import a grails 3 project and point to the directory where 2 you did the init of the grails project. Idea 1 will do the rest.
If you are a windows user, you might be 7 disappointed , as at the moment (may 2016), grails 6 support is removed from windows environment, as 5 can be verified from here: https://blog.jetbrains.com/idea/2015/10/intellij-idea-15-eap-supports-grails-3/ As quoted "We 4 drop the Grails tool window. We’re sorry 3 about it"
So, just download the latest 2 IntelliJ IDEA 15 EAP if you are facing an 1 issue
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.