GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - WhiteMemory99/Intellij-Python-Inlay-Params: A PyCharm plugin that implements inlay parameter and type annotation hints for Python.

BranchesTags
Open more actions menu

Latest commit

 

History

118 Commits
118 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.run
.run
 
 
gradle
gradle
 
 
src
src
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

Python Inlay Params

Build Version Rating Downloads License: MIT

Quick Installation

  • 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...

Description

This plugin (quite decently) implements inlay parameter hints for Python.
In addition, you can enable type annotation hints for variables and function return types.

Supported expressions

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.

Settings

Parameter hints

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 to enable/disable them individually. Additionally, there's an option to avoid redundant hints more aggressively, called Hide overlaps, which is used to hide a hint if a parameter name is completely overlapped by its argument.

Type annotation hints (BETA)

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 and Function return types.
Look at the demo screenshot below to see them in work (last section).

Demo Screenshot

About

A PyCharm plugin that implements inlay parameter and type annotation hints for Python.

plugins.jetbrains.com/plugin/19538

Topics

hintsintellijintellij-pluginpluginproductivitypythonpython-pluginpython3

Resources

Readme
MIT license
Activity

Stars

41 stars

Watchers

1 watching

Forks

11 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.