We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8272d2a + e223d20 commit fbb1337Copy full SHA for fbb1337
editors/code/src/ctx.ts
@@ -98,7 +98,9 @@ export class Ctx {
98
icon = "$(warning) ";
99
break;
100
case "error":
101
- statusBar.tooltip += "\nClick to reload.";
+ statusBar.tooltip =
102
+ (status.message ? status.message + "\n" : "") + "Click to reload.";
103
+
104
statusBar.command = "rust-analyzer.reloadWorkspace";
105
statusBar.color = new vscode.ThemeColor("statusBarItem.errorForeground");
106
statusBar.backgroundColor = new vscode.ThemeColor("statusBarItem.errorBackground");
0 commit comments