Skip to content

Is Pylance also a Python language server? #301

Open

Description

@nielsbom

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

Activity

  1. keegancsmith commented on Jan 13, 2023

    @keegancsmith
    Collaborator

    PRs are welcome :)

  2. goyalyashpal commented on Apr 2, 2023

    @goyalyashpal
    Contributor

    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

  3. andrewcrook commented on Jul 26, 2023

    @andrewcrook

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions