aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorMilo <[email protected]>2021-06-06 00:17:16 +0100
committerMilo <[email protected]>2021-06-06 00:17:16 +0100
commitab57c25d1e54131b8477f9eb0ab8c195c3815153 (patch)
tree54cb3d4c583f3d6e0d3c6c734017ca399c5b5099 /editors/code
parentd616a6a45697589a5fb4eeb4a30382322f8b8184 (diff)
when you click status bar icon it now restarts server
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/ctx.ts1
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);