View source
typedef RelatedUnchangedDocumentDiagnosticReport
package languageServerProtocol.protocol
import languageServerProtocol.protocol.Diagnostics
An unchanged diagnostic report with a set of related documents.
Available since
3.17.0
.Fields
optionalrelatedDocuments:Null<DynamicAccess<EitherType<FullDocumentDiagnosticReport, UnchangedDocumentDiagnosticReport>>>
Diagnostics of related documents. This information is useful in programming languages where code in a file A can generate diagnostics in a file B which A depends on. An example of such a language is C/C++ where marco definitions in a file a.cpp and result in errors in a header file b.hpp.
Available since
3.17.0
.kind:DocumentDiagnosticReportUnchangedKind
A document diagnostic report indicating
no changes to the last result. A server can
only return unchanged
if result ids are
provided.