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