- Notifications
You must be signed in to change notification settings - Fork9
A PyCharm plugin that implements inlay parameter and type annotation hints for Python.
License
WhiteMemory99/Intellij-Python-Inlay-Params
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Using IDE built-in plugin system:
Settings/Preferences >Plugins >Marketplace >
Search for "Python Inlay Params" >Install PluginManually:
Download thelatest release andinstall it manually usingSettings/Preferences >Plugins >⚙️ >Install plugin from disk...
This plugin(quite decently) implements inlay parameter hints forPython.
In addition, you can enable type annotation hints for variables and function return types.
Pretty much any expression is supported:
- dataclass and class instantiation
- lambdas
- decorators
- function and method calls
- etc.
Scroll to the demo at the bottom to see how it works.
To enable/disable them entirely, follow this path:
Settings ->Editor ->Inlay Hints ->Parameter names ->Python
But you can also switch specific parts in that menu:Class hints
,Function hints
toenable/disable them individually.Additionally, there's an option to avoid redundant hints more aggressively, calledHide overlaps
, which is used tohide a hint if a parameter name is completely overlapped by its argument.
Partially disabled by default.
To enable/disable them entirely, follow this path:
Settings ->Editor ->Inlay Hints ->Types ->Python
There are two main options under this partition:Type annotations
andFunction return types
.
Look at the demo screenshot below to see them in work(last section).
About
A PyCharm plugin that implements inlay parameter and type annotation hints for Python.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.