mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Add support for invoking multiple equal scored DocumentRangeSemanticTokensProviders
This commit is contained in:
@@ -216,7 +216,7 @@ const newCommands: ApiCommand[] = [
|
||||
),
|
||||
new ApiCommand(
|
||||
'vscode.provideDocumentRangeSemanticTokensLegend', '_provideDocumentRangeSemanticTokensLegend', 'Provide semantic tokens legend for a document range',
|
||||
[ApiCommandArgument.Uri],
|
||||
[ApiCommandArgument.Uri, ApiCommandArgument.Range.optional()],
|
||||
new ApiCommandResult<modes.SemanticTokensLegend, types.SemanticTokensLegend | undefined>('A promise that resolves to SemanticTokensLegend.', value => {
|
||||
if (!value) {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user