-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace >
Search for "Python Inlay Params" > Install Plugin -
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
This plugin (quite decently) implements inlay parameter hints for Python.
Pretty much any expression is supported:
- dataclass and class instantiation
- lambdas
- decorators
- function and method calls
- etc.
Look at the examples below to see how it works.
The plugin can be disabled entirely in the IDE settings:
Settings -> Editor -> Inlay Hints -> Parameter names -> Python
There are also more detailed settings in the same section that let you control the behavior of the plugin.
