PyCharm 2022.3 Help

Navigate 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 implemented.

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

the block is inherited

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, and click the gutter icon implemented.

  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 popup menu:

    go to an implementing block

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

Last modified: 14 September 2021