mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 17:07:26 +00:00
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.
This commit is contained in:
commit
86b6b6f705
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue