remove whitespaceBefore/After from InlayHint, https://github.com/microsoft/vscode/issues/16221

This commit is contained in:
Johannes Rieken
2021-09-21 14:23:00 +02:00
parent 2f33470e28
commit ee56349b8b
5 changed files with 2 additions and 23 deletions

View File

@@ -1156,9 +1156,7 @@ export namespace InlayHint {
return {
text: hint.text,
position: Position.from(hint.position),
kind: InlayHintKind.from(hint.kind ?? types.InlayHintKind.Other),
whitespaceBefore: hint.whitespaceBefore,
whitespaceAfter: hint.whitespaceAfter
kind: InlayHintKind.from(hint.kind ?? types.InlayHintKind.Other)
};
}
@@ -1168,8 +1166,6 @@ export namespace InlayHint {
Position.to(hint.position),
InlayHintKind.to(hint.kind)
);
res.whitespaceAfter = hint.whitespaceAfter;
res.whitespaceBefore = hint.whitespaceBefore;
return res;
}
}