This feature is supported in Ultimate edition only.

The following is only valid when Python Plugin is installed and enabled!

IntelliJ IDEA makes it possible to easily navigate between templates and views, using the gutter icons, or Navigate | Related File command.

To navigate from a view to a template
  1. Open views.py file in the editor.
  2. Do one of the following:
    • Click the gutter icon next to the desired function:

      ../../Shared/python_jumpToTemplate.png

    • On the main menu, choose Navigate | Related File, or just press ⌃⌘↑⌥⌘↖⌃⌘↑^ ⌥ Home^ ⌥ Home.
To navigate from a template to the referencing view
  1. Open the desired template file in the editor.
  2. Do one of the following:
    • Click the gutter icon:

      ../../Shared/python_jumpToView.png

    • On the main menu, choose Navigate | Related File, or just press ⌃⌘↑⌥⌘↖⌃⌘↑^ ⌥ Home^ ⌥ Home.

If there are more related files (for example, a view and a style sheet), select the desired target from the pop-up that appears:

../../Shared/py_gotoRelated.png