langserver.github.io
langserver.github.io copied to clipboard
Is Pylance also a Python language server?
I'm not sure whether Pylance is a language server. The repo says it is.
If it is: I suggest we add it to langserver.org
PRs are welcome :)
Pylance is the default language support for Python in Visual Studio Code and is shipped as part of that extension as an optional dependency.
https://github.com/microsoft/pylance-release/blob/944a10793a6706ec0101efcfa8036a6da53fb3cc/README.md#L7
Installed extensions The Python extension will automatically install the Pylance, Jupyter and isort extensions to give you the best experience when working with Python files and Jupyter notebooks. However, Pylance is an optional dependency, meaning the Python extension will remain fully functional if it fails to be installed. You can also uninstall it at the expense of some features if you’re using a different language server.
https://github.com/microsoft/vscode-python/blob/5528e0efb9b8c91c83dfb356391085280fb63417/README.md#L12
more in #309
I think you can get wrappers to use pyright as a LSP not sure. It’s used in Pylance but you can now only use pylance in Microsoft products. Personally, I wouldn’t bother with the latter because its not an open LSP which kind of makes it irrelevant in the LSP scene.