opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: Replace pyright with basedpyright to resolve LSP hanging issues

Open aymuos15 opened this issue 2 months ago • 4 comments

Trying to address: https://github.com/sst/opencode/issues/3628

This is my first contribution here so I would appreciate some guidance as to any particular changes I should add in terms of documentation and/or testing. Thanks!

aymuos15 avatar Nov 02 '25 16:11 aymuos15

oh shit let's go that was fast

rekram1-node avatar Nov 02 '25 17:11 rekram1-node

oh shit let's go that was fast

Opencode is a pretty great tool 👀

aymuos15 avatar Nov 02 '25 17:11 aymuos15

was looking up if anyone else had issues adding basedpyright to opencode via json configuration and found this pull request, is there anything preventing this from being merged?

jwinpbe avatar Nov 28 '25 13:11 jwinpbe

Sorry to ping you @rekram1-node , I understand with how fast you are all moving that this would get lost in the shuffle. Would you be able to merge this? I'm having my models ping pong back and forth between the builtin pyright checker and my justfile workflow that runs basedpyright, ruff, etc. I'd rather not disable the internal LSP because the immediate feedback is useful to the model. Thanks!

jwinpbe avatar Jan 15 '26 13:01 jwinpbe