-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
python-language-server replacement #3722
Comments
Thank you @arthurio this was helpful for me |
Thanks. Unfortunately, this doesn't seem to work with I'm not sure if I'm missing something, or overriding a local executable's name is something ALE just doesn't support. |
@mkalinski I use virtualenvs and things work fine for me (I use pyenv). I would check the following:
For me:
I hope this helps. |
This isn't really my case. I'm using ALE's functionality to automatically use virtualenvs. When there's a virtualenv named This works for other tools I have installed in the virtualenv, that don't have changed executable names, ex. flake8. And I can run pylsp when I enter the virtualenv manually. But after setting |
@mkalinski, if you are using
|
Thank you @arthurio for the sample configuration. Did you manage to have the autocompletion working?. Mine is not working for some reason :( |
As mentioned in dense-analysis#3722 palantir's python-language-server is no longer maintained. The alternative is to use the community-driven https://github.com/python-lsp/python-lsp-server.
As mentioned in #3722 palantir's python-language-server is no longer maintained. The alternative is to use the community-driven https://github.com/python-lsp/python-lsp-server.
@GerardoGR Yes autocompletion is working for me 🤷🏻 |
To answer my own question and in case someone else experience the same. I had
When I disabled paste (removing it from my |
Name: python-lsp-server
URL: https://github.com/python-lsp/python-lsp-server
It seems that
python-language-server
is not longer maintained (I asked for confirmation here). I suggest updating the documentation to point topython-lsp-server
instead, which is the new actively maintained fork of the project.In terms of configuration, not much needed to be changed:
Initial config
New config
To recap, just set
let g:ale_python_pyls_executable
to"pylsp"
(previouslypyls
), and updatepyls
topylsp
ing:ale_python_pyls_config
if you need to configure it.The text was updated successfully, but these errors were encountered: