PyCharm 2024.1 Help

Navigate 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 over a step. The step turns to a hyperlink, and its reference information is displayed at the tooltip:

      Jumping to the step definition

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

    • From the main menu, choose Navigate | Declaration.

    • Press Ctrl+B.

Last modified: 26 May 2024