Type Alias DiagnosticOptions

DiagnosticOptions: WorkDoneProgressOptions & {
    identifier?: string;
    interFileDependencies: boolean;
    workspaceDiagnostics: boolean;
}

Diagnostic options.

Type declaration

  • Optionalidentifier?: string

    An optional identifier under which the diagnostics are managed by the client.

  • interFileDependencies: boolean

    Whether the language has inter file dependencies meaning that editing code in one file can result in a different diagnostic set in another file. Inter file dependencies are common for most programming languages and typically uncommon for linters.

  • workspaceDiagnostics: boolean

    The server provides support for workspace diagnostics as well.

3.17.0