sublimelsp / LSP-pyright

Python support for Sublime's LSP plugin provided through microsoft/pyright.
MIT License
126 stars 13 forks source link

(🎁) Support basedpyright #317

Closed KotlinIsland closed 5 months ago

KotlinIsland commented 5 months ago

Basedpyright is a Pyright fork with many improvements and new features

Link: https://github.com/DetachHead/basedpyright

I would be awesome if this project could support Basedpyright

jfcherng commented 5 months ago

I already know this actually. It's a great awesome work. But if it gets supported, I think it should be LSP-basedpyright rather than in this repository.

LSP-basedpyright can be created with some minor modifications from LSP-pyright.

KotlinIsland commented 5 months ago

I think it should be LSP-basedpyright rather than in this repository.

Why is that?

jfcherng commented 5 months ago

I think it should be LSP-basedpyright rather than in this repository.

Why is that?

Make a new LSP-basedpyright is far more easier and clean.

jfcherng commented 5 months ago

@KotlinIsland Do you think pyright has ANY benefits when it compares to basedpyright? I think we should advertise LSP-basedpyright to LSP-pyright users when LSP-basedpyright comes out.

KotlinIsland commented 5 months ago

Unless you consider pyright an "industry standard", then not at all. Additionally, the vision behind bpr is to keep any functionally as compliant as possible.

jfcherng commented 5 months ago

Hi @rchl, @rwols

Here is a working LSP-basedpyright with basedpyright v1.8.0, which basically includes all Pyright features and some exclusive Pylance features such as semantic highlighting and inlay hints.

I forget what's the procedure to move it into LSP org.

jfcherng commented 5 months ago

Moved to https://github.com/sublimelsp/LSP-basedpyright.

jfcherng commented 5 months ago

Closed as LSP-basedpyright has been merged into the LSP orgnization. It should appear on Package Control within hours: https://packagecontrol.io/packages/LSP-basedpyright