/reveal-type-for-pycharm

`reveal_type()` support for PyCharm

Primary LanguageKotlinMIT LicenseMIT

reveal_type() support for PyCharm

Build

reveal_type() support for PyCharm.

See the type of an arbitrary expression as inferred by PyCharm via visual annotations.

Usage

Wrap an arbitrary expression with a reveal_type() call to see its type as inferred by PyCharm.

This plugin has no inference logic on its own. All calls to reveal_type() are recognized as directives, regardless of the fully qualified name.

Installation

This plugin is not available on the Marketplace. You can download the ZIP files manually from the Releases tab, the build branch or the Actions tab and follow the instructions described here.

Currently supported versions: 2024.1 (build 241.14494.241) and later.

Credits

Many parts of the code were derived from and relevant parts of the IntelliJ Community code base. Some other files are based on or copied directly from @JetBrains/intellij-platform-plugin-template.