Skip to content

Commit 86b6b6f

Browse files
committed
Auto merge of #15391 - Wilfred:default_click_action, r=Veykril
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.
2 parents c59bd2d + 1e76b11 commit 86b6b6f

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)