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.
(command code-lens)
The command this code lens represents.
The command this code lens represents.
(range code-lens)
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.
(resolved? code-lens)
true
when there is a command associated.
`true` when there is a command associated.
(set-command! code-lens value)
The command this code lens represents.
The command this code lens represents.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close