Expand description
Filter for deduplicating diagnostics based on related information arrays.
Extracts user_data.lsp.relatedInformation entries and skips root diagnostics whose rendered
information is already represented, reducing noise (especially repeated hints).
Structs§
- Related
Info 🔒 - Common shape of a root LSP diagnostic and the elements of its “
user_data.lsp.relatedInformation”. - Related
Info Filter - Filters out diagnostics already represented by other ones (e.g. HINTs pointing to a location already mentioned by other ERROR’s rendered message)