Home

Awesome

Pyright for PyCharm

Build Docs Version Rating Downloads

<!-- Plugin description -->

Pyright integration for PyCharm.

This plugin runs the Pyright type checker on-the-fly and reroutes its diagnostics back to the IDE as you code.

Warning: Depending on the running mode, it might save your files at very fast pace.

Usage

Go to <b>Settings</b> | <b>Tools</b> | <b>Pyright (Global)</b> / <b>Pyright (Project)</b> and set the path to your Pyright executable(s).

(Not sure what this means? See the docs for more information.)

Save, return to your file and start making some modifications. You should see the annotations in a few seconds.

<!-- Plugin description end -->

Installation

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

Currently supported versions: 2024.1 (build 241.14494.241) - 2024.2.* (build 242.*).

Credits

Most of the code is derived from @koxudaxi/ruff-pycharm-plugin. It is such a fortune that that plugin does almost the same thing and is also written in Kotlin, and hence easily understandable.

The SVG and PNG logos are derived from the README image of the @microsoft/pyright repository, generated using Inkscape's autotrace feature.

Some other files are based on or copied directly from @JetBrains/intellij-platform-plugin-template.