Diagnostic$Typings extension
Properties
-
code
↔ Object
-
A code or identifier for this diagnostic.
Should be used for later processing, e.g. when providing {@link CodeActionContext code actions}.
getter/setter pair
-
message
↔ String
-
The human-readable message.
getter/setter pair
-
range
↔ Range
-
The range to which this diagnostic applies.
getter/setter pair
-
relatedInformation
↔ List<DiagnosticRelatedInformation>
-
An array of related diagnostic information, e.g. when symbol-names within
a scope collide all definitions can be marked via this property.
getter/setter pair
-
severity
↔ DiagnosticSeverity
-
The severity, default is {@link DiagnosticSeverity.Error error}.
getter/setter pair
-
source
↔ String
-
A human-readable string describing the source of this
diagnostic, e.g. 'typescript' or 'super lint'.
getter/setter pair
-
tags
↔ List<DiagnosticTag>
-
Additional metadata about the diagnostic.
getter/setter pair