Navigating to Implementing Blocks of Templates
In this section:
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 .
While you hover the mouse pointer over this icon, a tooltip informs that the block is inherited.
Jumping to an implementing block
To navigate from a block in an extended template to the implementing block
- Open for editing the desired base template.
- Select block in question, and click the gutter icon .
- 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:
The implementing template opens in the editor, with the caret at the name of the block in question.