The source project of this merge request has been removed.
Show diagnostic code in UI
Language server can provide an optional code
of a diagnostic. Currently Kate's LSP Client plugin does not expose this information in UI.
However, this information may be useful, at least for clangd
the diagnostic code contains machine-friendly diagnostic code that can be used to suppress a specific diagnostic with a #pragma clang diagnostic ignored "-Wsomething-something"
for Clang warnings or with a // NOLINT(something-something)
comment for Clang Tidy warnings. Having diagnostic code in UI allows user to easily copy-paste it from LSP tab to source file being edited.
Edited by Glebs Ivanovskis