mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
support double click gesture on inlay hints, API polish, https://github.com/microsoft/vscode/issues/16221
This commit is contained in:
@@ -75,8 +75,8 @@ class TypeScriptInlayHintsProvider extends Disposable implements vscode.InlayHin
|
||||
|
||||
return response.body.map(hint => {
|
||||
const result = new vscode.InlayHint(
|
||||
hint.text,
|
||||
Position.fromLocation(hint.position),
|
||||
hint.text,
|
||||
hint.kind && fromProtocolInlayHintKind(hint.kind)
|
||||
);
|
||||
result.paddingLeft = hint.whitespaceBefore;
|
||||
|
||||
Reference in New Issue
Block a user