Johannes Rieken
2022-02-24 15:00:29 +01:00
parent d6edae6e30
commit 261adce05c
4 changed files with 0 additions and 8 deletions

View File

@@ -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,

View File

@@ -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;

View File

@@ -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;