Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 1e76b11

Browse files
committed
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.
1 parent c59bd2d commit 1e76b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/ctx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ export class Ctx {
414414
statusBar.tooltip.appendText(status.message ?? "Ready");
415415
statusBar.color = undefined;
416416
statusBar.backgroundColor = undefined;
417-
statusBar.command = "rust-analyzer.stopServer";
417+
statusBar.command = "rust-analyzer.openLogs";
418418
this.dependencies?.refresh();
419419
break;
420420
case "warning":

0 commit comments

Comments
 (0)