Skip to content

PyLance Language Server by microsoft does not work. Autoimport does not work too. #3216

Closed
@nooobcoder

Description

@nooobcoder

#3182
The autoimport feature in Pylance does not work on code-server. I know Pylance is in preview state, but it does not work at all on code-server. Works fine on VSCode though. I have sideloaded the extension from vsix as this is not available in the openvsix repository.
Pylance

Also, i have enabled the following entry in settings.json to enable the language server across my workspaces.
"python.languageServer": "Pylance"

Please bring a patch for this in the next major update. #1938

I think this has already been answered here somehow

Not only is redistribution not allowed, but even if installed by hand, Pylance will refuse to run on any unofficial build.

Isn't it wonderful that M$ now "loves open source"? /s

But, still why it should not work on code-server when it works on VSCode. It should work as code-server is a fork of VSCode right?

Attaching relevant screenshots below, please see that the logs of the language server are empty. Seems like the extension is not loading itself at all.

image

Thank You.
Ankur Paul

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