An optional event to signal that the code lenses from this provider have changed.
The document in which the command was invoked.
A cancellation token.
An array of code lenses or a thenable that resolves to such. The lack of a result can be
signaled by returning undefined
, null
, or an empty array.
This function will be called for each visible code lens, usually when scrolling and after calls to compute-lenses.
code lens that must be resolved.
A cancellation token.
The given, resolved code lens or thenable that resolves to such.
A code lens provider adds commands to source text. The commands will be shown as dedicated horizontal lines in between the source text.