Preparing search index...
The search index is not available
Monaco Editor API
Monaco Editor API
languages
DocumentSemanticTokensProvider
Interface DocumentSemanticTokensProvider
interface
DocumentSemanticTokensProvider
{
onDidChange
?:
IEvent
<
void
>
;
getLegend
(
)
:
SemanticTokensLegend
;
provideDocumentSemanticTokens
(
model
,
lastResultId
,
token
)
:
ProviderResult
<
SemanticTokens
|
SemanticTokensEdits
>
;
releaseDocumentSemanticTokens
(
resultId
)
:
void
;
}
Index
Properties
on
Did
Change?
Methods
get
Legend
provide
Document
Semantic
Tokens
release
Document
Semantic
Tokens
Properties
Optional
on
Did
Change
on
Did
Change
?:
IEvent
<
void
>
Methods
get
Legend
get
Legend
(
)
:
SemanticTokensLegend
Returns
SemanticTokensLegend
provide
Document
Semantic
Tokens
provide
Document
Semantic
Tokens
(
model
,
lastResultId
,
token
)
:
ProviderResult
<
SemanticTokens
|
SemanticTokensEdits
>
Parameters
model
:
ITextModel
lastResultId
:
string
token
:
CancellationToken
Returns
ProviderResult
<
SemanticTokens
|
SemanticTokensEdits
>
release
Document
Semantic
Tokens
release
Document
Semantic
Tokens
(
resultId
)
:
void
Parameters
resultId
:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
on
Did
Change
get
Legend
provide
Document
Semantic
Tokens
release
Document
Semantic
Tokens
Monaco Editor API
Loading...