You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a LSP client talking to rust-analyzer, I'd like to pretty-print diagnostics coming from PublishDiagnosticsParams, so that they look readable/indented, ideally exactly like when cargo shows errors (but without terminal color codes). https://docs.rs/lsp-types/latest/lsp_types/struct.Diagnostic.html
Is there a function in some crate already that does this? 🙂
How do editors who have LSP clients do this, does every one reimplement the diagnostic fomatting?
The text was updated successfully, but these errors were encountered:
In a LSP client talking to rust-analyzer, I'd like to pretty-print
diagnostics
coming fromPublishDiagnosticsParams
, so that they look readable/indented, ideally exactly like when cargo shows errors (but without terminal color codes).https://docs.rs/lsp-types/latest/lsp_types/struct.Diagnostic.html
Is there a function in some crate already that does this? 🙂
How do editors who have LSP clients do this, does every one reimplement the diagnostic fomatting?
The text was updated successfully, but these errors were encountered: