Skip to content

dubreuia/python-inlay-hints-plugin

Repository files navigation

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

About

Show inferred Python types as Inlay Hints using folds

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages