Skip to content

Commit 6c9362d

Browse files
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 <[email protected]>
2 parents 5904726 + b8eeef4 commit 6c9362d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editors/code/src/ctx.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export class Ctx {
3939
extCtx.subscriptions.push(statusBar);
4040
statusBar.text = "rust-analyzer";
4141
statusBar.tooltip = "ready";
42+
statusBar.command = "rust-analyzer.analyzerStatus";
4243
statusBar.show();
4344

4445
const res = new Ctx(config, extCtx, client, serverPath, statusBar);

0 commit comments

Comments
 (0)