diff --git a/src/vs/workbench/api/common/extHostLanguageFeatures.ts b/src/vs/workbench/api/common/extHostLanguageFeatures.ts index 5e90e6b7196..035389dcda5 100644 --- a/src/vs/workbench/api/common/extHostLanguageFeatures.ts +++ b/src/vs/workbench/api/common/extHostLanguageFeatures.ts @@ -1262,7 +1262,6 @@ class InlayHintsAdapter { label: '', // fill-in below cacheId: id, tooltip: typeConvert.MarkdownString.fromStrict(hint.tooltip), - command: hint.command && this._commands.toInternal(hint.command, disposables), position: typeConvert.Position.from(hint.position), kind: hint.kind && typeConvert.InlayHintKind.from(hint.kind), paddingLeft: hint.paddingLeft, diff --git a/src/vs/workbench/api/common/extHostTypeConverters.ts b/src/vs/workbench/api/common/extHostTypeConverters.ts index 7ec5aff1000..396202a6722 100644 --- a/src/vs/workbench/api/common/extHostTypeConverters.ts +++ b/src/vs/workbench/api/common/extHostTypeConverters.ts @@ -1171,7 +1171,6 @@ export namespace InlayHint { hint.kind && InlayHintKind.to(hint.kind) ); res.tooltip = htmlContent.isMarkdownString(hint.tooltip) ? MarkdownString.to(hint.tooltip) : hint.tooltip; - res.command = hint.command && converter.fromInternal(hint.command); res.paddingLeft = hint.paddingLeft; res.paddingRight = hint.paddingRight; return res; diff --git a/src/vs/workbench/api/common/extHostTypes.ts b/src/vs/workbench/api/common/extHostTypes.ts index 23dd01c2e3e..cf9c4fd35a7 100644 --- a/src/vs/workbench/api/common/extHostTypes.ts +++ b/src/vs/workbench/api/common/extHostTypes.ts @@ -1470,7 +1470,6 @@ export class InlayHint implements vscode.InlayHint { kind?: vscode.InlayHintKind; paddingLeft?: boolean; paddingRight?: boolean; - command?: vscode.Command; constructor(position: Position, label: string | InlayHintLabelPart[], kind?: vscode.InlayHintKind) { this.position = position; diff --git a/src/vscode-dts/vscode.d.ts b/src/vscode-dts/vscode.d.ts index 724ae853263..e0fceca624d 100644 --- a/src/vscode-dts/vscode.d.ts +++ b/src/vscode-dts/vscode.d.ts @@ -4657,11 +4657,6 @@ declare module 'vscode' { */ tooltip?: string | MarkdownString | undefined; - /** - * Optional command that will be the default gesture of this inlay hint. - */ - command?: Command; - /** * The kind of this hint. The inlay hint kind defines the appearance of this inlay hint. */