Liking cljdoc? Tell your friends :D

dots.vscode.code-lens

A code lens represents a {@link Command } that should be shown along with source text, like the number of references, a way to run tests, etc.

A code lens is unresolved when no command is associated to it. For performance reasons the creation of a code lens and resolving should be done to two stages.

A code lens represents a {@link Command } that should be shown along with
source text, like the number of references, a way to run tests, etc.

A code lens is _unresolved_ when no command is associated to it. For performance
reasons the creation of a code lens and resolving should be done to two stages.
raw docstring

commandcljs

(command code-lens)

The command this code lens represents.

Returns: Command | undefined

The command this code lens represents.

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

rangecljs

(range code-lens)

The range in which this code lens is valid. Should only span a single line.

Returns: Range

The range in which this code lens is valid. Should only span a single line.

**Returns:** `Range`
sourceraw docstring

resolved?cljs

(resolved? code-lens)

true when there is a command associated.

Returns: boolean

`true` when there is a command associated.

**Returns:** `boolean`
sourceraw docstring

set-command!cljs

(set-command! code-lens value)

The command this code lens represents.

The command this code lens represents.
sourceraw docstring

set-range!cljs

(set-range! code-lens value)

The range in which this code lens is valid. Should only span a single line.

The range in which this code lens is valid. Should only span a single line.
sourceraw docstring

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

× close