InSyncWithFoo / pyright-for-pycharm

Pyright integration for PyCharm

Home Page:https://insyncwithfoo.github.io/pyright-for-pycharm/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pyright for PyCharm

Build Docs Version Rating Downloads

Pyright integration for PyCharm.

This plugin runs the Pyright type checker on-the-fly as you edit your Python files.

It works by saving all your files as-is before running the executable provided by you. If you are not OK with that, please do not install this plugin.

Note: If you use PyCharm Professional, install the Pyright Language Server plugin instead.

Usage

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

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

Installation

This plugin is available on the Marketplace. You can also 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) - 2024.1.* (build 241.*).

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.

About

Pyright integration for PyCharm

https://insyncwithfoo.github.io/pyright-for-pycharm/

License:MIT License


Languages

Language:Kotlin 97.1%Language:Python 2.3%Language:HTML 0.6%