fix: Fix restart server button trying to start instead of restart the server

This commit is contained in:
Lukas Wirth 2023-04-28 21:34:31 +02:00
parent 3b97978c49
commit cf8f13b531
5 changed files with 9 additions and 10 deletions

View file

@ -390,7 +390,9 @@ export class Ctx {
statusBar.tooltip.appendMarkdown(
"\n\n[Rebuild Proc Macros](command:rust-analyzer.rebuildProcMacros)"
);
statusBar.tooltip.appendMarkdown("\n\n[Restart server](command:rust-analyzer.startServer)");
statusBar.tooltip.appendMarkdown(
"\n\n[Restart server](command:rust-analyzer.restartServer)"
);
statusBar.tooltip.appendMarkdown("\n\n[Stop server](command:rust-analyzer.stopServer)");
if (!status.quiescent) icon = "$(sync~spin) ";
statusBar.text = `${icon}rust-analyzer`;