Maintain order of DiagnosticRelatedInformation objects in Diagnostic.relatedInformation #63710
Closed
Description
Hello! Thank you for all your hard work!
This is a request regarding the diagnostics API. I was watching closely for #10271, and this may relate to some usages of #1927.
I'm not sure if this is "by design" or just incidental to the way it was implemented, but the ordering of items in the relatedInformation
array property of vscode.Diagnostic
objects seems to be ignored when VSCode displays this information in the problems panel.
It seems that the ordering within a single file is honored, but related information objects from different files are not ordered relative to each other.
On a barely related note: Is there any push for arbitrary hierarchies of diagnostics?