IntelliJ IDEA 2023.3 Help

Python External Documentation

Python External Documentation

To view Python external documentation, you need to configure the documentation URL first. IntelliJ IDEA comes with the URLs for pandas, wx, kivy, PySide, PyQt5, PyQt4, matplotlib, pyramid, flask, and gtk. You can modify the predefined set of URLs or add a new one in the project Settings.

Configuring external documentation

Item

Description

Module Names

This column shows the names of the modules, whose documentation you want to have visible in browser on invoking View | External Documentation, or pressing Shift+F1, for example, pandas.

URL Pattern

This column shows existing patterns of the URLs to the external documentation, or its local address, for example, https://pandas.pydata.org/pandas-docs/stable/generated/{element.qname}.html

If external documentation resides locally, specify the local path to it .

the Add button

Click this button to add to the list a new module and its URL pattern or local address.

the Edit button

Click this button to change the name or URL pattern of the selected module.

Double-clicking an entry in the table produces the same result.

the Remove button

Delete the selected module from the list.

Add/Edit Documentation URL

Item

Description

Module name

Type module name in the text field.

URL pattern

In this text field, create the desired pattern, using plain text and macros from the Available Macros field.

Modifying the URL for the matplotlib documentation

Note that each documentation module has its specific structure, so be careful when adding macros.

Insert

Click this button to add the selected macro to the pattern.

Last modified: 19 March 2024