- In a Grails *.gsp page, place the caret at a view that refers to a non-existent action.
- Press Alt+EnterAlt+Enter, and choose from the suggestion list. The action is created in the controller, with the caret at the insertion point.
- Type the meaningful action code.
- In a Grails controller, place the caret at an action that refers to a non-existent view.
- Press Alt+EnterAlt+Enter, and choose from the suggestion list.

A .gsp file with the corresponding name is created under the views directory of the Grails application.
Tip
Configure code style of .gsp pages here.

