Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IDiagnostic

Index

Properties

Optional code

code: string | number

A code or identifier for this diagnostics. Will not be surfaced to the user, but should be used for later processing, e.g. when providing code actions.

message

message: string

The human-readable message.

Optional path

path: JsonPath

The JSONPath pointing to property to which this diagnostic applies.

range

range: IRange

The range to which this diagnostic applies.

Optional relatedInformation

relatedInformation: IDiagnosticRelatedInformation[]

An array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.

severity

The severity, default is error.

Optional source

source: string

A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.

Optional tags

Additional metadata about the diagnostic.