IntelliJ IDEA 2017.1 Help

Navigating from .feature File to Step Definition

To navigate from a .feature file to step definition

  1. Open the desired .feature file in the editor.
  2. Do one of the following:
    • Keeping the Ctrl button pressed, hover your mouse pointer over a step. The step turns to a hyperlink, and its reference information is displayed at the tooltip:
      /help/img/idea/2017.1/cucumberJumpToStepDefinition.png

      Click the hyperlink. The step definition file opens in the editor, with the caret resting at the desired step definition.

    • On the main menu, choose Navigate | Declaration.
    • Press Ctrl+B.

See Also

Last modified: 18 July 2017