basedpyright icon indicating copy to clipboard operation
basedpyright copied to clipboard

pycharm plugin

Open DetachHead opened this issue 1 year ago • 3 comments

DetachHead avatar Jan 16 '24 04:01 DetachHead

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

divaltor avatar Mar 21 '24 16:03 divaltor

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 avatar Mar 31 '24 03:03 DetachHead

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 avatar Apr 23 '24 00:04 DetachHead

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

DetachHead avatar Jun 12 '24 00:06 DetachHead

the current pycharm plugin works with basedpyright so i'm gonna close this

DetachHead avatar Aug 22 '24 22:08 DetachHead