Liking cljdoc? Tell your friends :D

dots.vscode.diagnostic

Represents a diagnostic, such as a compiler error or warning. Diagnostic objects are only valid in the scope of a file.

Represents a diagnostic, such as a compiler error or warning. Diagnostic objects
are only valid in the scope of a file.
raw docstring

codecljs

(code diagnostic)

A code or identifier for this diagnostic. Should be used for later processing, e.g. when providing {@link CodeActionContext code actions}.

Returns: string | number | { value: string | number; target: Uri; } | undefined

A code or identifier for this diagnostic.
Should be used for later processing, e.g. when providing {@link CodeActionContext code actions}.

**Returns:** `string | number | { value: string | number; target: Uri; } | undefined`
sourceraw docstring

messagecljs

(message diagnostic)

The human-readable message.

Returns: string

The human-readable message.

**Returns:** `string`
sourceraw docstring

rangecljs

(range diagnostic)

The range to which this diagnostic applies.

Returns: Range

The range to which this diagnostic applies.

**Returns:** `Range`
sourceraw docstring

(related-information diagnostic)

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

Returns: DiagnosticRelatedInformation[] | undefined

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

**Returns:** `DiagnosticRelatedInformation[] | undefined`
sourceraw docstring

set-code!cljs

(set-code! diagnostic value)

A code or identifier for this diagnostic. Should be used for later processing, e.g. when providing {@link CodeActionContext code actions}.

A code or identifier for this diagnostic.
Should be used for later processing, e.g. when providing {@link CodeActionContext code actions}.
sourceraw docstring

set-message!cljs

(set-message! diagnostic value)

The human-readable message.

The human-readable message.
sourceraw docstring

set-range!cljs

(set-range! diagnostic value)

The range to which this diagnostic applies.

The range to which this diagnostic applies.
sourceraw docstring

(set-related-information! diagnostic value)

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

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

set-severity!cljs

(set-severity! diagnostic value)

The severity, default is {@link DiagnosticSeverity.Error error}.

The severity, default is {@link DiagnosticSeverity.Error error}.
sourceraw docstring

set-source!cljs

(set-source! diagnostic value)

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

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

set-tags!cljs

(set-tags! diagnostic value)

Additional metadata about the diagnostic.

Additional metadata about the diagnostic.
sourceraw docstring

severitycljs

(severity diagnostic)

The severity, default is {@link DiagnosticSeverity.Error error}.

Returns: DiagnosticSeverity

The severity, default is {@link DiagnosticSeverity.Error error}.

**Returns:** `DiagnosticSeverity`
sourceraw docstring

sourcecljs

(source diagnostic)

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

Returns: string | undefined

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

**Returns:** `string | undefined`
sourceraw docstring

tagscljs

(tags diagnostic)

Additional metadata about the diagnostic.

Returns: DiagnosticTag[] | undefined

Additional metadata about the diagnostic.

**Returns:** `DiagnosticTag[] | undefined`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close