IntelliJ IDEA 2017.1 Help

Scaffolding

This feature is supported in the Ultimate edition only.

IntelliJ IDEA implements the powerful Grails facility to generate controllers, views, and tests from the Grails elements. For this purpose, the editor for the Grails elements provides a toolbar, which enables you to run the Grails scaffolding generation targets.

When you run a target, the names of the scaffolding elements are generated on the base of the Grails elements' names, and the scaffolding files are placed to the corresponding directories of the module structure.

To generate scaffolding for a Grails element

  1. Open the desired Grails element in the editor:
    /help/img/idea/2017.1/grailsScaffoldingnew.png
  2. Click the desired scaffolding button, and choose Generate:
    /help/img/idea/2017.1/grailsControllerGenerate.png

See Also

Last modified: 18 July 2017