PyCharm 2018.2 Help

Navigating to Implementing Blocks of Templates

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 gutterIconImplemented.

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

py inherited block

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 gutterIconImplemented.

  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:
    py goto implemented block

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

Last modified: 21 November 2018

See Also

Language and Framework-Specific Guidelines:

External Links: