File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ const statusBarText = 'GQL';
3434const statusBarUIElements = {
3535 [ Status . init ] : {
3636 icon : 'sync' ,
37- color : 'white ' ,
37+ color : 'yellow ' ,
3838 tooltip : 'Graphql language server is initializing' ,
3939 } ,
4040 [ Status . ok ] : {
4141 icon : 'plug' ,
42- color : 'while ' ,
42+ color : 'white ' ,
4343 tooltip : 'Graphql language server is running' ,
4444 } ,
4545 [ Status . error ] : {
@@ -129,17 +129,16 @@ function initializeStatusBar(context, client) {
129129 serverRunning = true ;
130130 } else {
131131 extensionStatus = Status . error ;
132- client . info ( 'The graphql server has stopped running ' ) ;
132+ client . info ( 'The graphql server has stopped' ) ;
133133 serverRunning = false ;
134134 }
135135 updateStatusBar ( window . activeTextEditor ) ;
136136 } ) ;
137- updateStatusBar ( window . activeTextEditor ) ;
138-
139137 window . onDidChangeActiveTextEditor ( ( editor : TextEditor ) => {
140138 // update the status if the server is running
141139 updateStatusBar ( editor ) ;
142140 } ) ;
141+ updateStatusBar ( window . activeTextEditor ) ;
143142}
144143
145144function updateStatusBar ( editor : TextEditor ) {
You can’t perform that action at this time.
0 commit comments