Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Pylance also a Python language server? #301

Open
nielsbom opened this issue Jan 13, 2023 · 3 comments
Open

Is Pylance also a Python language server? #301

nielsbom opened this issue Jan 13, 2023 · 3 comments

Comments

@nielsbom
Copy link

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

@keegancsmith
Copy link
Collaborator

PRs are welcome :)

@goyalyashpal
Copy link
Contributor

goyalyashpal commented Apr 2, 2023

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

@andrewcrook
Copy link

andrewcrook commented Jul 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants