basedpyright
basedpyright copied to clipboard
pycharm plugin
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
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
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)
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
the current pycharm plugin works with basedpyright so i'm gonna close this