Skip to: Site menu | Main content

A Grails-like Rich Application Platform

IntelliJ IDEA Print

IntelliJ IDEA supports Griffon since version 9 (currently available under EAP).

You can manage the whole lifecycle of a Griffon application development inside IDEA. The supported features include:

  • Creating a new Griffon project
  • Opening an existing Griffon app / plugin
  • Project view
  • Integrated command window
  • Running / debugging Griffon apps from the IDE
  • Unit tests integration

Creating a new Griffon project

Select the appropriate type of application and a Griffon application or plugin will be created.

 

 

 





Importing a project

Use the Import Griffon application from existing sources option on the New Project screen to get a project created for existing Griffon application or plugin. 



Project view

Once you open a project, you get a Griffon-specific project view on the left-hand side, where IDEA shows your models, views and controllers nicely organized.

All changes you make outside of the IDE, added libraries or plugins will be detected and displayed correctly.

Integrated command window

The Control + Alt + G key shortcut will bring up a dialog to enter and run your Griffon command-line commands. 



 

 





Running

IDEA has created a Run configuration for the Griffon application, so you can immediatelly run or debug the project with the Control + F10 and Control + F9 keyboard shortcuts respectively or using the appropriate buttons in the toolbar.



 

 

 





Testing

IDEA can run Griffon tests and show the test results integrated into a tool window with direct links to the code.