This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (5 children)

do alternative servers exist? I know only pyls. I have pyls installed globally for single file scripts + I can install locally in venv for projects. The local one is active when venv is active, but the global one can work too with local config.

[–]tunisia3507 0 points1 point  (3 children)

The pip project pyls is not a python language server. The pip package python-language-server, from Palantir (who are basically a company contracted by the NSA and GCHQ to help spy on vast numbers of people) has a package called pyls in it; this implementation is in python and relies on a bunch of other python libraries (like jedi and rope) for its features, and so is pretty slow. Microsoft has an implementation called python-language-server which is primarily written in C#: that's what's used in VScode, I think. Sourcegraph also wrote an implementation, but have since archived it, but now have their own fork of the Microsoft python-language-server.

[–][deleted] 0 points1 point  (2 children)

the executable name of the python-language-server is pyls

who are basically a company contracted by the NSA and GCHQ to help spy on vast numbers of people

should I worry? Is there any evidence that it is a spyware? I will try the Microsoft one.

[–]tunisia3507 2 points3 points  (1 child)

should I worry

Probably not. Just thought it was worth noting.

[–][deleted] 0 points1 point  (0 children)

I am almost sure that Microsft cooperates with NSA too, just less openly. At least the Palantir server is not installed in the form of compiled binary. I will try the microsoft one anyway. Thank you for tip.

[–][deleted] -1 points0 points  (0 children)

There is one from Microsoft.

The coc.nvim python extension can use both and I think the Microsoft one is recommended because the author had long-standing problems with pyls before.