CodeLensProvider
A code lens provider adds commands to source text. The commands will be shown as dedicated horizontal lines in between the source text.
Properties
Link copied to clipboard
An optional event to signal that the code lenses from this provider have changed.
Link copied to clipboard
This function will be called for each visible code lens, usually when scrolling and after calls to compute-lenses.
Functions
Link copied to clipboard
abstract fun provideCodeLenses(document: TextDocument, token: CancellationToken): ProviderResult<ReadonlyArray<T>>