helix icon indicating copy to clipboard operation
helix copied to clipboard

Make the diagnostic picker aware of which LSP produced each diagnostic?

Open jerabaul29 opened this issue 10 months ago • 3 comments

It is common to have several LSPs enabled for a single language. Given that, would it be possible / useful to make the diagnostic picker aware of which LSP produced each diagnostic, and maybe make it possible to toggle / search etc diagnostics based on LSP?

jerabaul29 avatar Jan 10 '25 08:01 jerabaul29

Now when the picker can have multiple columns, this could potentially be one!

It's however not a use case I've felt. Is this something you've experienced the need for?

samuelselleck avatar Jan 20 '25 01:01 samuelselleck

My feeling is that it would be nice to look at the messages from only a specific lsp by filtering by its name, for example when looking at a file that does not follow "good" spellchecking and has many typos, I may want to only look at e.g. pylsp messages if this is a python file, to focus on programming aspects rather than typos :) . I say this as I have added cspell to my list of lsps :) .

jerabaul29 avatar Jan 20 '25 14:01 jerabaul29

This issue is a duplicate of https://github.com/helix-editor/helix/issues/11452

Also.. I very much agree this is necessary when programming Python. Currently I'm running pyright, the ruff lsp and ty. It would be a big help to know which LSP generates the diagnostic.

RmStorm avatar Jun 13 '25 09:06 RmStorm