Skip to content

Commit ab57c25

Browse files
committed
when you click status bar icon it now restarts server
1 parent d616a6a commit ab57c25

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 = "reload";
4243
statusBar.show();
4344

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

0 commit comments

Comments
 (0)