diff options
author | Milo <[email protected]> | 2021-06-06 00:17:16 +0100 |
---|---|---|
committer | Milo <[email protected]> | 2021-06-06 00:17:16 +0100 |
commit | ab57c25d1e54131b8477f9eb0ab8c195c3815153 (patch) | |
tree | 54cb3d4c583f3d6e0d3c6c734017ca399c5b5099 | |
parent | d616a6a45697589a5fb4eeb4a30382322f8b8184 (diff) |
when you click status bar icon it now restarts server
-rw-r--r-- | editors/code/src/ctx.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index cf67dd8cf..d3c9c896d 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts | |||
@@ -39,6 +39,7 @@ export class Ctx { | |||
39 | extCtx.subscriptions.push(statusBar); | 39 | extCtx.subscriptions.push(statusBar); |
40 | statusBar.text = "rust-analyzer"; | 40 | statusBar.text = "rust-analyzer"; |
41 | statusBar.tooltip = "ready"; | 41 | statusBar.tooltip = "ready"; |
42 | statusBar.command = "reload"; | ||
42 | statusBar.show(); | 43 | statusBar.show(); |
43 | 44 | ||
44 | const res = new Ctx(config, extCtx, client, serverPath, statusBar); | 45 | const res = new Ctx(config, extCtx, client, serverPath, statusBar); |