diff options
author | Aleksey Kladov <[email protected]> | 2020-02-17 12:54:33 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-17 12:54:33 +0000 |
commit | 6167101302bcc2d7f1a345e0ee44e1411056b4b3 (patch) | |
tree | df40b6265f303b8fba5f804a7f7ff370e844dea0 /editors/code/src/commands/index.ts | |
parent | fcf15cc05afaeda6880664777ff2a3db342ea088 (diff) | |
parent | d24e612106867c4bb6a1e59bf99aabfb7bc27823 (diff) |
Merge pull request #3190 from matklad/reload
Simplify TS reload logic
Diffstat (limited to 'editors/code/src/commands/index.ts')
-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 | } | ||