From ab57c25d1e54131b8477f9eb0ab8c195c3815153 Mon Sep 17 00:00:00 2001 From: Milo <50248166+Milo123459@users.noreply.github.com> Date: Sun, 6 Jun 2021 00:17:16 +0100 Subject: when you click status bar icon it now restarts server --- editors/code/src/ctx.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'editors') 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 { extCtx.subscriptions.push(statusBar); statusBar.text = "rust-analyzer"; statusBar.tooltip = "ready"; + statusBar.command = "reload"; statusBar.show(); const res = new Ctx(config, extCtx, client, serverPath, statusBar); -- cgit v1.2.3