/python-inlay-hints-plugin

Show inferred Python types as Inlay Hints using folds

Primary LanguageKotlinMIT LicenseMIT

Python Inlay Hints Plugin

Build Version Downloads

Description

Show inferred Python types as Inlay Hints using folds (while we wait for Displaying inlay hints for inferred types).

Features

  • Shows inferred type for any variable
  • Works on nested generic collection types

Usage

Showing and hiding types is done using the default folding commands:

  • Show all the types
    • "Collapse All" (ctrl/cmd + shift + -)
    • "Uncollapse All" (ctrl/cmd + shift + +)
  • Hide all the types
    • "Uncollapse All" (ctrl/cmd + shift + +)

Example

Python Inlay Hints in folds Python Inlay Hints Demo
python inlay hints screenshot python inlay hints video