File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
integration/vscode/ada/src Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,9 @@ export class ExtensionState {
190
190
* diagnostics.
191
191
*/
192
192
public updateStatusBarItem = ( ) => {
193
+ // Set the status bar item's default text ('Ada & SPARK')
194
+ this . statusBar . text = 'Ada & SPARK' ;
195
+
193
196
// Use markdown for the status bar item tiooltip. This allows to have
194
197
// hyperlinks that run actual commands.
195
198
this . statusBar . tooltip = new vscode . MarkdownString ( '' , true ) ;
@@ -220,7 +223,6 @@ export class ExtensionState {
220
223
const statusBarSeverity : vscode . DiagnosticSeverity = alsDiagnostics
221
224
. map ( ( a ) => a . severity )
222
225
. reduce ( ( a , b ) => ( a < b ? a : b ) ) ;
223
- this . statusBar . text = 'Ada & SPARK' ;
224
226
225
227
switch ( statusBarSeverity ) {
226
228
case vscode . DiagnosticSeverity . Error :
You can’t perform that action at this time.
0 commit comments