aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/index.ts
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-05-25 01:47:33 +0100
committerveetaha <[email protected]>2020-05-25 01:59:46 +0100
commit5dab5e737909532e4a65390541393af6ee72f65b (patch)
tree7393ee6defa8951afafe90f0c180e7c0f4f1db70 /editors/code/src/commands/index.ts
parentfbb8b884a2dbc3ced720c84f4604466e223f6d69 (diff)
Introduce `toggle inlay hints` vscode command
Users now can assign a shortcut for this command via the general vscode keybindings ui or `keybinding.json file` Closes: #4599
Diffstat (limited to 'editors/code/src/commands/index.ts')
-rw-r--r--editors/code/src/commands/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts
index abb53a248..c2a232d5f 100644
--- a/editors/code/src/commands/index.ts
+++ b/editors/code/src/commands/index.ts
@@ -16,6 +16,7 @@ export * from './expand_macro';
16export * from './runnables'; 16export * from './runnables';
17export * from './ssr'; 17export * from './ssr';
18export * from './server_version'; 18export * from './server_version';
19export * from './toggle_inlay_hints';
19 20
20export function collectGarbage(ctx: Ctx): Cmd { 21export function collectGarbage(ctx: Ctx): Cmd {
21 return async () => ctx.client.sendRequest(ra.collectGarbage, null); 22 return async () => ctx.client.sendRequest(ra.collectGarbage, null);