mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
remove InlayHint#command for now, https://github.com/microsoft/vscode/issues/141576, https://github.com/microsoft/vscode/issues/143740
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user