Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DiagnosticCollection

Implements

  • DiagnosticCollection

Index

Constructors

  • new DiagnosticCollection(name: string, maxCountPerFile: number, proxy: LanguagesMain, onDidChangeDiagnosticsEmitter: Emitter<DiagnosticChangeEvent>): DiagnosticCollection

Properties

collectionName: string
diagnostics: Map<string, Diagnostic[]>
diagnosticsLimitPerResource: number
isDisposed: boolean
onDidChangeDiagnosticsEmitter: Emitter<DiagnosticChangeEvent>
onDisposeCallback: undefined | (() => void)
DIAGNOSTICS_PRIORITY: DiagnosticSeverity[] = ...

Accessors

  • get name(): string

Methods

  • clear(): void
  • delete(uri: URI): void
  • dispose(): void
  • ensureNotDisposed(): void
  • fireDiagnosticChangeEvent(arg: string | string[] | URI | URI[]): void
  • forEach(callback: ((uri: URI, diagnostics: Diagnostic[], collection: DiagnosticCollection) => any), thisArg?: any): void
  • Parameters

    • callback: ((uri: URI, diagnostics: Diagnostic[], collection: DiagnosticCollection) => any)
        • (uri: URI, diagnostics: Diagnostic[], collection: DiagnosticCollection): any
        • Parameters

          • uri: URI
          • diagnostics: Diagnostic[]
          • collection: DiagnosticCollection

          Returns any

    • Optional thisArg: any

    Returns void

  • get(uri: URI): undefined | Diagnostic[]
  • getAllResourcesUris(): string[]
  • getDiagnosticsByUri(uri: URI): undefined | Diagnostic[]
  • has(uri: URI): boolean
  • sendChangesToEditor(uris: URI[]): void
  • set(uri: Uri, diagnostics: undefined | Diagnostic[]): void
  • set(entries: [Uri, undefined | Diagnostic[]][]): void
  • setDiagnostics(entries: [URI, undefined | Diagnostic[]][]): void
  • setDiagnosticsForUri(uri: URI, diagnostics?: Diagnostic[]): void
  • setOnDisposeCallback(onDisposeCallback: undefined | (() => void)): void
  • toUrisArray(arg: string | string[] | URI | URI[]): URI[]