Interface DiagnosticData

Shape of information commonly used in the data field of diagnostics.

interface DiagnosticData {
    actionRange?: Range;
    actionSegment?: DocumentSegment;
    code: string;
}

Hierarchy (view full)

Properties

actionRange?: Range

Specifies where to apply the code action in the form of a Range.

actionSegment?: DocumentSegment

Specifies where to apply the code action in the form of a DocumentSegment.

code: string

Diagnostic code for identifying which code action to apply. This code is not shown in the user interface.