Support for jedi-language-server code diagnostics configuration
See original GitHub issueDescription
Dear @krassowski ,
after the improvements achieved with jedi-language-server for autocompletion
(#272), I am looking forward to configuring it to work with the code diagnostics
features.
Unfortunately the latter doesn’t work out of the box and I can’t find any useful debugging/troubleshooting message to share.
Would it be possible to get some help to understand what code diagnostics expects and how to include its configuration? Many thanks
Reproduce
- Install jedi-language-server as described in https://github.com/pappasam/jedi-language-server
- Create a minimal server setting (See #272 for example)
- Make a PEP8 mistake in the code
Expected behavior
Expecting seeing the Diagnostic Panel getting populated. Instead nothing happens.
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
pappasam/jedi-language-server - GitHub
A Language Server for the latest version(s) of Jedi. If using Neovim/Vim, we recommend using with coc-jedi. Supports Python versions 3.7 and newer....
Read more >jedi-language-server - PyPI
jedi -langugage-server provides diagnostics about syntax errors, powered by Jedi. If you would like additional diagnostics, we suggest using the ...
Read more >Language Server Extension Guide - Visual Studio Code
With Language Servers, you can implement autocomplete, error-checking (diagnostics), jump-to-definition, and many other language features supported in VS Code.
Read more >Language Server
Language Maintainer Repository
Ada AdaCore github.com/AdaCore/ada_language_server
ANTLR Ken Domino github.com/kaby76/AntlrVSIX
Apache Camel Camel Tooling github.com/camel‑tooling/camel‑language‑server
Read more >LSP Mode - Language Server Protocol support for Emacs ...
Flexible - choose between full-blown IDE with flashy UI or minimal distraction free. ⚙ Easy to configure - works out of the box...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is expected, jedi-language-server only provides syntax errors. Good to have a confirmation that it is working well. We still intend to allow for having two different language servers per document (so that you could use completions from jedi-language-server and diagnostics from another language server) but this has no ETA (it would require some back-and-forth with design and thorough testing so it might happen during one of the future holidays unless someone will contribute earlier).
We just released
jupyterlab-lsp
3.3.0 andjupyter-lsp
1.1.2 which bring more stability and performance improvements.@krassowski,
I actually didn’t answer your question below, did I? In my setup, I am using
jupyterlab-lsp==3.2.0
,jedi-language-server==0.21.0
andpygls==0.9.1
, which seem to be the newest public releases (at least with conda).The diagnostics panel only shows syntax errors. Do I have to change anything? Dependencies, configurations, updates? Is there some documentation I missed?