Skip to main content
API module

diagnosticmanager API

All 7 public APIs exported from the diagnosticmanager module, with declarations, documentation, and source-backed examples.

Generated from typings/index.d.ts @ 555f5ceon

diagnosticmanager

diagnosticManager.create

Create collection by name

Source

API signature

diagnosticManager.create(name: string): DiagnosticCollection

Parameters

ParameterType
namestring
Declaration
typings/index.d.ts:13113
diagnosticmanager

diagnosticManager.getDiagnostics

Get readonly diagnostics for uri

Source

API signature

diagnosticManager.getDiagnostics(uri: string): { [collection: string]: Diagnostic[] }

Parameters

ParameterType
uristring
Returns
{ [collection: string]: Diagnostic[] }
Declaration
typings/index.d.ts:13118
diagnosticmanager

diagnosticManager.getDiagnosticList

Get all sorted diagnostics

Source

API signature

diagnosticManager.getDiagnosticList(): Promise<ReadonlyArray<DiagnosticItem>>
Returns
Promise<ReadonlyArray<DiagnosticItem>>
Declaration
typings/index.d.ts:13127
diagnosticmanager

diagnosticManager.getCurrentDiagnostics

All diagnostics at current cursor position.

Source

API signature

diagnosticManager.getCurrentDiagnostics(): Promise<ReadonlyArray<Diagnostic>>
Returns
Promise<ReadonlyArray<Diagnostic>>
Declaration
typings/index.d.ts:13132
diagnosticmanager

diagnosticManager.getCollectionByName

Get diagnostic collection.

Source

API signature

diagnosticManager.getCollectionByName(name: string): DiagnosticCollection

Parameters

ParameterType
namestring
Declaration
typings/index.d.ts:13137