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/code') 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 From 42e5e5b458f263310626d61b25d516793469e291 Mon Sep 17 00:00:00 2001 From: Milo <50248166+Milo123459@users.noreply.github.com> Date: Sun, 6 Jun 2021 00:21:50 +0100 Subject: fix --- editors/code/src/ctx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code') diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index d3c9c896d..2ecfdd208 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts @@ -39,7 +39,7 @@ export class Ctx { extCtx.subscriptions.push(statusBar); statusBar.text = "rust-analyzer"; statusBar.tooltip = "ready"; - statusBar.command = "reload"; + statusBar.command = "rust-analyzer.reload"; statusBar.show(); const res = new Ctx(config, extCtx, client, serverPath, statusBar); -- cgit v1.2.3 From b8eeef4dfa7ea9609da24e3e674e919470914d75 Mon Sep 17 00:00:00 2001 From: Milo <50248166+Milo123459@users.noreply.github.com> Date: Mon, 7 Jun 2021 17:56:40 +0100 Subject: fix --- editors/code/src/ctx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code') diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index 2ecfdd208..2ffd3be6f 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts @@ -39,7 +39,7 @@ export class Ctx { extCtx.subscriptions.push(statusBar); statusBar.text = "rust-analyzer"; statusBar.tooltip = "ready"; - statusBar.command = "rust-analyzer.reload"; + statusBar.command = "rust-analyzer.analyzerStatus"; statusBar.show(); const res = new Ctx(config, extCtx, client, serverPath, statusBar); -- cgit v1.2.3