diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-02-17 12:17:01 +0100 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-02-17 13:40:47 +0100 |
| commit | dcdbbddd1630a4ed01906c2aff0e2b65ed99a591 (patch) | |
| tree | e02793bf82f2956bf7c61dfbd7adfcfdf4df191b /editors/code/src/commands | |
| parent | fcf15cc05afaeda6880664777ff2a3db342ea088 (diff) | |
| download | rust-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.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 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(); - }; -} |
