mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
experiment with InlayHintLabelPart and source location as "anchor action",
https://github.com/microsoft/vscode/issues/129528
This commit is contained in:
@@ -332,8 +332,8 @@ const newCommands: ApiCommand[] = [
|
||||
new ApiCommand(
|
||||
'vscode.executeInlayHintProvider', '_executeInlayHintProvider', 'Execute inlay hints provider',
|
||||
[ApiCommandArgument.Uri, ApiCommandArgument.Range],
|
||||
new ApiCommandResult<modes.InlayHint[], vscode.InlayHint[]>('A promise that resolves to an array of Inlay objects', result => {
|
||||
return result.map(typeConverters.InlayHint.to);
|
||||
new ApiCommandResult<modes.InlayHint[], vscode.InlayHint[]>('A promise that resolves to an array of Inlay objects', (result, args, converter) => {
|
||||
return result.map(typeConverters.InlayHint.to.bind(undefined, converter));
|
||||
})
|
||||
),
|
||||
// --- notebooks
|
||||
|
||||
Reference in New Issue
Block a user