Skip to content

Add support for LSP DiagnosticRelatedInformation #58

Open
@suoto

Description

@suoto

If source A depends on source B, errors on source B should be included in the diagnostics shown for source A (warnings can be suppressed) via DiagnosticRelatedInformation (more info: https://microsoft.github.io/language-server-protocol/specifications/specification-3-14/#textDocument_publishDiagnostics).

This requires keeping track of the which of source A's dependencies triggered building source B (there might be more than one) so that the diagnostics from the latter can be included at a pertinent location on the former.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions