-
-
Notifications
You must be signed in to change notification settings - Fork 911
python-language-server moving to python-lsp #2777
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
Comments
@douglasdavis, the first release of |
Thanks @andfoy! I made a quick Emacs |
what about changing the existing client to try |
@mpanarin, any thoughts? I want to have one client instead of 2 clients(one deprecated) and I don't want to be a breaking change because this leads to a lot of confusion and bug reports. |
@yyoncho we definitely should move to the maintained package. I highly doubt that palatir will continue any support on the original ls The only issue I see is python 2 support. But we probably can leave a message that for python2 you can try the microsoft ls. |
Is there an example of a client that tries one executable but falls back to another? Another concern would be the settings; needing to replace all occurrences of Lines 427 to 479 in 78ccbc2
|
Something like that in :new-connection lambda should do:
Registering them 2 times should be good enough. Given the differences, I will accept creating a new |
I heard that microsoft is deprecating its python language server. Can I still use it ? Otherwise, which python language server do yo advocate ? |
deb75 ***@***.***> writes:
I heard that microsoft is deprecating its python language server. Can
I still use it ?
The MS python-language-server is indeed deprecated in favor of
Pyright+Pylance.
Otherwise, which python language server do yo advocate ?
IMO it comes down to personal preference. If you like the MS
python-language-server, it still works fine but one must be aware that
there is a chance it will get stale. If you don't mind installing a JS
package as a Python language server, Pyright is a good choice and
currently supported. If you want to use something supported by the
larger open source Python community, that is written in Python,
python-lsp-server is the currently supported project.
|
May or may not be related to what you suggested, but I tried changing Given that |
Mmmm, I don't think that just switching the server is a good idea. Pyls is stable as is and, while unmaintained, there was no response from palantir that it is abandoned. Plus, as new server is being developed there is a high chance of incompatibilities between them. So keep the old pyls as a backup server with a warning of deprecation. At least for now |
The python-language-server project has been forked and a new organization is continuing development at python-lsp-server (no one in the open source Python community has permission to merge PRs or cut releases in the palantir project, transition is ongoing here). The executable is changing names from
pyls
topylsp
. Creating this issue to suggest thelsp-pyls
client transitions following the language server transition (and volunteering to help out when the server is ready)The text was updated successfully, but these errors were encountered: