lsp-ui icon indicating copy to clipboard operation
lsp-ui copied to clipboard

Is there a way to show diagnostics in popup?

Open Martinsos opened this issue 1 year ago • 5 comments

Right now my diagnostics are getting shown in the sideline, but that can become quite a mess when window doesn't have big width, and sideline contains a lot of info (code actions, errors, ...).

I can get turn off the sideline and then it shows in the minibuffer, but it doesn't behave much nicer -> I lose colors, formatting is also not great.

Is there a way to show diagnostics in the popup that would show up either at the fixed position, or at the cursor? Right now we already have popups for docs, could we also use them to show diagnostics?

Or if now, is there a way to make diagnostics in sideline to behave nicer? To explain what do I mean by messy right now, here is a screenshot:

image

  • one problem is that text is right-aligned so it looses its natural structure, makes it harder to read.
  • long lines go into multiple lines

Martinsos avatar Oct 13 '22 12:10 Martinsos