Workbench icon indicating copy to clipboard operation
Workbench copied to clipboard

Add pylsp as the python LSP.

Open janvhs opened this issue 2 years ago • 0 comments

This PR, lays the foundation to introduce an LSP for the python language. Pylsp is packaged as a flatpak module and included in the build tree for the Devel version of Workbench.

Currently, pylsp responds to file input changing, but doesn't publish any diagnostics and I can not figure out why. It seems to support the same capabilities as the JS client, yet only responds with empty diagnostics on the notification::textDocument/publishDiagnostics event.

Another thing, that raised my attention, is the usage of booth python and python3, when referencing to the language ID throughout the codebase. I don't think it is part of the problem, tho.

Can someone take a look at this and help to figure out, why it does not work?

janvhs avatar Dec 26 '23 12:12 janvhs