PyCharm 2017.1 Help

Navigating to Implementing Blocks of Templates

This feature is supported in the Professional edition only.

In this section:

Introduction

If a template extends another template, PyCharm provides the possibility to navigate from the blocks in a base template to the implementing templates, using the gutter icons /help/img/idea/2017.1/gutterIconImplemented.gif.

While you hover the mouse pointer over this icon, a tooltip informs that the block is inherited.

/help/img/idea/2017.1/py_inherited_block.png

Jumping to an implementing block

To navigate from a block in an extended template to the implementing block

  1. Open for editing the desired base template.
  2. Select the block in question, and click the gutter icon /help/img/idea/2017.1/gutterIconImplemented.gif.
  3. If a single implementation block is encountered, PyCharm navigates directly to this block.
    If more than one template implements same base template, choose the target from the pop-up menu:
    /help/img/idea/2017.1/py_goto_implemented_block.png

    The implementing template opens in the editor, with the caret at the name of the block in question.

See Also

Language and Framework-Specific Guidelines:

External Links:

Last modified: 26 July 2017