IntelliJ IDEA 2020.3 Help

Navigate between actions and views

To navigate between an action and the corresponding view

  • In a controller, with the caret within an action: Click the icon Grails goto view from action iconin the left gutter:

    Grails goto view from action

    The corresponding <name>.gsp file opens in the editor.

  • In a view file <name>.gsp: click the Controller button on the scaffolding toolbar:

    Grails goto action from view
    The corresponding controller opens in the editor, with the caret resting before the action name.

To navigate from Grails render or redirect methods, do one of the following

  • With the caret at the template name, press Ctrl+B

  • Keeping Ctrl pressed, click the template name:

    Grails goto view from render

Last modified: 23 June 2020