Fold Individual Diagnostics #12435
Unanswered
justinlovinger
asked this question in
General
Replies: 1 comment
-
There is no way to refer to an individual diagnostics and diagnostics can updated removed or added at any time by the language server. I don't really think I would want to maintain that level of granularity. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am defining a folded diagnostic as one displayed end-of-line and an unfolded diagnostic as one displayed inline. Currently, all diagnostics except the one on the cursor-line can be folded or unfolded by toggling
inline-diagnostics.other-lines
betweendisable
andhint
. A diagnostic on the cursor-line can be folded and unfolded by togglinginline-diagnostics.cursor-line
betweendisable
andhint
. However, there is no way to fold or unfold individual diagnostics not on the cursor-line.Note, part of this suggestion is rethinking inline diagnostics in terms of general folding and unfolding, instead of having bespoke options for displaying diagnostics in particular ways in particular hard-coded locations. The current behavior of
inline-diagnostics.cursor-line
can be reframed as displaying the cursor-line unfolded.Beta Was this translation helpful? Give feedback.
All reactions