when you click status bar icon it now restarts server

This commit is contained in:
Milo 2021-06-06 00:17:16 +01:00
parent d616a6a456
commit ab57c25d1e

View file

@ -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 = "reload";
statusBar.show(); statusBar.show();
const res = new Ctx(config, extCtx, client, serverPath, statusBar); const res = new Ctx(config, extCtx, client, serverPath, statusBar);