Suggest installing Pyright if there are issues with Pylance #23308
Labels
feature-request
Request for new features or functionality
triage-needed
Needs assignment to the proper sub-team
I've been using VSCodium as an IDE. And I will preface this by saying I am somewhat inexperienced, as I am a junior developer. I searched for open issues and didn't find any. Pylance has certain features I need, but it is not compatible with VSCodium.
It isn't super clear from the Python extension description, or from the configuration settings within the extension, that Pylance is not compatible with open-source binaries for VSCode. I understand that the Pylance repository explains that it is closed source, but it would be really convenient if there was some hint within the Python extension itself that you can install Pyright as an alternative if there's an issue. It would have saved me a couple hours of tedious research that wasn't really productive.
Maybe this could be implemented as a popup error when a user tries to change the LSP to Pylance in an unsupported IDE, suggesting something like "Please try installing Pyright if you're experiencing issues". Currently, there is a pop-up that says "Pylance is not installed, would you like to install it?", but clicking the install button does nothing in unsupported IDE's. It would be nice to have the little Pyright hint in that popup. That would help make the troubleshooting process faster. It would also be more subtle and not drive users away from using proprietary VSCode, but would help users who use open source alternatives.
The text was updated successfully, but these errors were encountered: