diff options
author | Aleksey Kladov <[email protected]> | 2020-02-17 11:17:01 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-17 12:40:47 +0000 |
commit | dcdbbddd1630a4ed01906c2aff0e2b65ed99a591 (patch) | |
tree | e02793bf82f2956bf7c61dfbd7adfcfdf4df191b /editors/code/src/commands | |
parent | fcf15cc05afaeda6880664777ff2a3db342ea088 (diff) |
Simplify TS reload logic
Fixes #3164
Diffstat (limited to 'editors/code/src/commands')
-rw-r--r-- | editors/code/src/commands/index.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts index b5ebec117..d05f40d67 100644 --- a/editors/code/src/commands/index.ts +++ b/editors/code/src/commands/index.ts | |||
@@ -51,10 +51,3 @@ export function selectAndApplySourceChange(ctx: Ctx): Cmd { | |||
51 | } | 51 | } |
52 | }; | 52 | }; |
53 | } | 53 | } |
54 | |||
55 | export function reload(ctx: Ctx): Cmd { | ||
56 | return async () => { | ||
57 | vscode.window.showInformationMessage('Reloading rust-analyzer...'); | ||
58 | await ctx.restartServer(); | ||
59 | }; | ||
60 | } | ||