diff options
author | Aleksey Kladov <[email protected]> | 2020-07-01 13:57:59 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-01 13:57:59 +0100 |
commit | c9f878962a7c9d1c33d5834a1dce2106c9286699 (patch) | |
tree | 1d66c4008b662dc8bcd703b146b7cb7e92e597b1 /editors/code/src/commands.ts | |
parent | ec8b4dca02e454bf110f799b1ae8ebf939c0e233 (diff) |
Add reload workspace command
Diffstat (limited to 'editors/code/src/commands.ts')
-rw-r--r-- | editors/code/src/commands.ts | 4 |
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 | ||
333 | export function collectGarbage(ctx: Ctx): Cmd { | 333 | export 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 | ||
337 | export function showReferences(ctx: Ctx): Cmd { | 337 | export function showReferences(ctx: Ctx): Cmd { |