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 {
190190 * diagnostics.
191191 */
192192 public updateStatusBarItem = ( ) => {
193+ // Set the status bar item's default text ('Ada & SPARK')
194+ this . statusBar . text = 'Ada & SPARK' ;
195+
193196 // Use markdown for the status bar item tiooltip. This allows to have
194197 // hyperlinks that run actual commands.
195198 this . statusBar . tooltip = new vscode . MarkdownString ( '' , true ) ;
@@ -220,7 +223,6 @@ export class ExtensionState {
220223 const statusBarSeverity : vscode . DiagnosticSeverity = alsDiagnostics
221224 . map ( ( a ) => a . severity )
222225 . reduce ( ( a , b ) => ( a < b ? a : b ) ) ;
223- this . statusBar . text = 'Ada & SPARK' ;
224226
225227 switch ( statusBarSeverity ) {
226228 case vscode . DiagnosticSeverity . Error :
You can’t perform that action at this time.
0 commit comments