Fixes #94134
This commit is contained in:
parent
b91e67b58c
commit
d7f74ba6c5
1 changed files with 6 additions and 0 deletions
6
src/vs/vscode.d.ts
vendored
6
src/vs/vscode.d.ts
vendored
|
@ -9605,6 +9605,12 @@ declare module 'vscode' {
|
|||
/**
|
||||
* Register a semantic tokens provider for a document range.
|
||||
*
|
||||
* *Note:* If a document has both a `DocumentSemanticTokensProvider` and a `DocumentRangeSemanticTokensProvider`,
|
||||
* the range provider will be invoked only initially, for the time in which the full document provider takes
|
||||
* to resolve the first request. Once the full document provider resolves the first request, the semantic tokens
|
||||
* provided via the range provider will be discarded and from that point forward, only the document provider
|
||||
* will be used.
|
||||
*
|
||||
* Multiple providers can be registered for a language. In that case providers are sorted
|
||||
* by their [score](#languages.match) and the best-matching provider is used. Failure
|
||||
* of the selected provider will cause a failure of the whole operation.
|
||||
|
|
Loading…
Reference in a new issue