about summary refs log tree commit diff
path: root/editors/code/src/commands
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-02-17 12:17:01 +0100
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-02-17 13:40:47 +0100
commitdcdbbddd1630a4ed01906c2aff0e2b65ed99a591 (patch)
treee02793bf82f2956bf7c61dfbd7adfcfdf4df191b /editors/code/src/commands
parentfcf15cc05afaeda6880664777ff2a3db342ea088 (diff)
downloadrust-dcdbbddd1630a4ed01906c2aff0e2b65ed99a591.tar.gz
rust-dcdbbddd1630a4ed01906c2aff0e2b65ed99a591.zip
Simplify TS reload logic
Fixes #3164
Diffstat (limited to 'editors/code/src/commands')
-rw-r--r--editors/code/src/commands/index.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts
index b5ebec117f3..d05f40d67af 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 {
         }
     };
 }
-
-export function reload(ctx: Ctx): Cmd {
-    return async () => {
-        vscode.window.showInformationMessage('Reloading rust-analyzer...');
-        await ctx.restartServer();
-    };
-}