DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
http://docs.basedpyright.com/
Other
596 stars 12 forks source link

pycharm plugin #27

Open DetachHead opened 5 months ago

divaltor commented 3 months ago

Take a look on handing inlay hints based on that plugin - https://github.com/WhiteMemory99/Intellij-Python-Inlay-Params

There is good examples with built-in methods and hints with single arguments like some_method(arg) - here no inlay hints to prevent increase of cognitive load while reading a code

DetachHead commented 3 months ago

i had a go at this but gave up pretty quickly. documentation for intellij plugins is pretty much non-existent and their reluctance to properly support language server protocol is really annoying. what i have so far is in #231 if anybody else wants to take over

DetachHead commented 2 months ago

looks like there are now two pyright plugins that we may be able to use:

https://github.com/InSyncWithFoo/pyright-for-pycharm (pycharm community) https://github.com/InSyncWithFoo/pyright-langserver-for-pycharm (pycharm professional)

DetachHead commented 3 weeks ago

there's now an open source LSP client for intellij that actually works, we should probably use that instead so that both free & paid users get the same experience. the generic LSP plugin works with basedpyright when configured manually, but creating a decicated plugin using the developer guide is preferable, imo.

though i unfortunately don't really have the time/patience to work on it. see https://github.com/DetachHead/basedpyright/pull/231#issuecomment-2161821312