Unnamed repository; edit this file 'description' to name the repository.
Set the default status bar action to openLogs
Previously, clicking 'rust-analyzer' would stop the server entirely. This was easy to do accidentally, and then the user has to wait for the server to start up again.
Wilfred Hughes 2023-08-05
parent c59bd2d · commit 1e76b11
-rw-r--r--editors/code/src/ctx.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts
index 72d8109bc8..b9a73c6c84 100644
--- a/editors/code/src/ctx.ts
+++ b/editors/code/src/ctx.ts
@@ -414,7 +414,7 @@ export class Ctx {
statusBar.tooltip.appendText(status.message ?? "Ready");
statusBar.color = undefined;
statusBar.backgroundColor = undefined;
- statusBar.command = "rust-analyzer.stopServer";
+ statusBar.command = "rust-analyzer.openLogs";
this.dependencies?.refresh();
break;
case "warning":