mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Merge #9153
9153: QOL: VSCode status bar icon on click now shows server status r=matklad a=Milo123459 Now, when you click the little status bar text, it will automatically reload the server. I don't think I've ever seen anyone click it randomly, and, it's there to save you a few clicks. Co-authored-by: Milo <50248166+Milo123459@users.noreply.github.com>
This commit is contained in:
commit
6c9362d61b
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ export class Ctx {
|
||||||
extCtx.subscriptions.push(statusBar);
|
extCtx.subscriptions.push(statusBar);
|
||||||
statusBar.text = "rust-analyzer";
|
statusBar.text = "rust-analyzer";
|
||||||
statusBar.tooltip = "ready";
|
statusBar.tooltip = "ready";
|
||||||
|
statusBar.command = "rust-analyzer.analyzerStatus";
|
||||||
statusBar.show();
|
statusBar.show();
|
||||||
|
|
||||||
const res = new Ctx(config, extCtx, client, serverPath, statusBar);
|
const res = new Ctx(config, extCtx, client, serverPath, statusBar);
|
||||||
|
|
Loading…
Reference in a new issue