Skip to content

lsp: Support relatedInformation in diagnostics

See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnosticRelatedInformation.

For each relatedInformation, add an additional "note" diagnostic. These aren't regular diagnostics with all the properties that entails, so I don't put the "raw" variant in the IdeLspDiagnostic, hence the addition of (nullable).

Merge request reports