rename InlineHint to InlayHint, make it InlayHint only and keep OverlayHint as a future, separate feature, remove hover message

This commit is contained in:
Johannes Rieken
2021-04-30 14:51:40 +02:00
parent 1ed6862c3e
commit a1e69b746f
19 changed files with 183 additions and 210 deletions

View File

@@ -326,10 +326,10 @@ const newCommands: ApiCommand[] = [
),
// --- inline hints
new ApiCommand(
'vscode.executeInlineHintProvider', '_executeInlineHintProvider', 'Execute inline hints provider',
'vscode.executeInlayHintProvider', '_executeInlayHintProvider', 'Execute inline hints provider',
[ApiCommandArgument.Uri, ApiCommandArgument.Range],
new ApiCommandResult<modes.InlineHint[], vscode.InlineHint[]>('A promise that resolves to an array of InlineHint objects', result => {
return result.map(typeConverters.InlineHint.to);
new ApiCommandResult<modes.InlayHint[], vscode.InlayHint[]>('A promise that resolves to an array of Inlay objects', result => {
return result.map(typeConverters.InlayHint.to);
})
),
// --- notebooks