Preparing search index...
The search index is not available
Monaco Editor API
Monaco Editor API
languages
CodeLensProvider
Interface CodeLensProvider
interface
CodeLensProvider
{
onDidChange
?:
IEvent
<
CodeLensProvider
>
;
provideCodeLenses
(
model
,
token
)
:
ProviderResult
<
CodeLensList
>
;
resolveCodeLens
?
(
model
,
codeLens
,
token
)
:
ProviderResult
<
CodeLens
>
;
}
Index
Properties
on
Did
Change?
Methods
provide
Code
Lenses
resolve
Code
Lens?
Properties
Optional
on
Did
Change
on
Did
Change
?:
IEvent
<
CodeLensProvider
>
Methods
provide
Code
Lenses
provide
Code
Lenses
(
model
,
token
)
:
ProviderResult
<
CodeLensList
>
Parameters
model
:
ITextModel
token
:
CancellationToken
Returns
ProviderResult
<
CodeLensList
>
Optional
resolve
Code
Lens
resolve
Code
Lens
(
model
,
codeLens
,
token
)
:
ProviderResult
<
CodeLens
>
Parameters
model
:
ITextModel
codeLens
:
CodeLens
token
:
CancellationToken
Returns
ProviderResult
<
CodeLens
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
on
Did
Change
provide
Code
Lenses
resolve
Code
Lens
Monaco Editor API
Loading...