aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands.ts
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-01 13:57:59 +0100
committerAleksey Kladov <[email protected]>2020-07-01 13:57:59 +0100
commitc9f878962a7c9d1c33d5834a1dce2106c9286699 (patch)
tree1d66c4008b662dc8bcd703b146b7cb7e92e597b1 /editors/code/src/commands.ts
parentec8b4dca02e454bf110f799b1ae8ebf939c0e233 (diff)
Add reload workspace command
Diffstat (limited to 'editors/code/src/commands.ts')
-rw-r--r--editors/code/src/commands.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index 0e78f5101..19a9c2a0d 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -330,8 +330,8 @@ export function expandMacro(ctx: Ctx): Cmd {
330 }; 330 };
331} 331}
332 332
333export function collectGarbage(ctx: Ctx): Cmd { 333export function reloadWorkspace(ctx: Ctx): Cmd {
334 return async () => ctx.client.sendRequest(ra.collectGarbage, null); 334 return async () => ctx.client.sendRequest(ra.reloadWorkspace, null);
335} 335}
336 336
337export function showReferences(ctx: Ctx): Cmd { 337export function showReferences(ctx: Ctx): Cmd {