Dark theme | Light theme

November 23, 2016

Grails Goodness: Enabling Grails View In IntelliJ IDEA For Grails 3

IntelliJ IDEA 2016.3 re-introduced the Grails view for Grails 3 applications. Grails 2 applications already were supported with a Grails view in IDEA. Using this view we get an overview of all the Grails artifacts like controller, services, views and more. We can easily navigate to the the class files we need. Now this view is also available for Grails 3 applications.

To enable the view we must click on the view selector in the project view:

We select the Grails option and we get an nice overview of our Grails project in the Grails view:

Also the New action is context sensitive in the Grails view. If we right click on the Services node we can see the option to create a new service class:

If we right click on the root node we get the option to create Grails artifacts:

Written with IntelliJ IDEA 2016.3 and Grails 3.2.2.