Hi Community!
I seem to have misconfigured the LSP server (for Python specifically). I don’t get any error/warning highlighting and nothing shows up in the diagnostics panel even though:
- The status bar says “Initialized” and the list shows jedi-language-server. I had it to pylsp-language-server before but I changed it while trying to debug it.
- In the settings I have all the Disabled checkboxes unchecked (for completion, syntax, hover, diagnostics, etc)
Hover is working though.
Thanks for any help!
jedi-language-server
does not provide any linting (code quality/correctness warning that go to diagnostics panel) except for syntax errors as jedi does not support it. You would want pylsp-language-server
for this. You need to go to settings and change the priority of the servers.
1 Like
Hi @krassowski , I uninstalled the Jedi server. Now “python-lsp-server (pylsp)” appears under “running”. I tried “pip install pylsp-language-server”, but there is no package with that name. Regardless, the behavior is just the same.
One more detail. I am getting warnings when editing a .py file, but not on the notebooks.
@krassowski , anybody?
Thanks in advance.