Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for LSP DiagnosticRelatedInformation #58

Open
suoto opened this issue Oct 29, 2019 · 1 comment
Open

Add support for LSP DiagnosticRelatedInformation #58

suoto opened this issue Oct 29, 2019 · 1 comment

Comments

@suoto
Copy link
Owner

suoto commented Oct 29, 2019

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.

@suoto suoto added this to the 0.6.6 milestone Oct 29, 2019
@suoto suoto modified the milestones: 0.6.6, 0.6.8, 0.6.9, 0.7.0 Nov 1, 2019
@suoto suoto removed this from the 0.7.0 milestone Nov 2, 2020
@pidgeon777
Copy link

This would be extremely cool and useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants