diff options
| author | Wilfred Hughes <wilfred@meta.com> | 2023-08-04 11:03:41 -0700 |
|---|---|---|
| committer | Wilfred Hughes <wilfred@meta.com> | 2023-08-04 11:03:41 -0700 |
| commit | 1e76b11a2029adc4c225bd8db5fc246d120c161d (patch) | |
| tree | fbec7028f11c182b7e8c69358ed139e77e1e44a3 | |
| parent | c59bd2dc3f05692f92b5b1c76f3d08d116e63422 (diff) | |
| download | rust-1e76b11a2029adc4c225bd8db5fc246d120c161d.tar.gz rust-1e76b11a2029adc4c225bd8db5fc246d120c161d.zip | |
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": |
