diff options
| author | bors <bors@rust-lang.org> | 2023-08-04 20:05:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-04 20:05:01 +0000 |
| commit | 86b6b6f705eb0c29691c3b2f7f5ac71df0e8caae (patch) | |
| tree | fbec7028f11c182b7e8c69358ed139e77e1e44a3 | |
| parent | c59bd2dc3f05692f92b5b1c76f3d08d116e63422 (diff) | |
| parent | 1e76b11a2029adc4c225bd8db5fc246d120c161d (diff) | |
| download | rust-86b6b6f705eb0c29691c3b2f7f5ac71df0e8caae.tar.gz rust-86b6b6f705eb0c29691c3b2f7f5ac71df0e8caae.zip | |
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.
| -rw-r--r-- | editors/code/src/ctx.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index 72d8109bc80..b9a73c6c840 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": |
