Skip to content

Commit 94faecf

Browse files
author
Kumar Harsh
committed
fix(ux): show statusbar item even when output panel is focussed
1 parent c8b73f4 commit 94faecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function updateStatusBar(editor: TextEditor) {
154154
statusBarItem.command = 'graphqlForVSCode.showOutputChannel';
155155
statusBarItem.color = statusUI.color;
156156

157-
if (editor && statusBarActivationLanguageIds.indexOf(editor.document.languageId) > -1) {
157+
if (editor && statusBarActivationLanguageIds.indexOf(editor.document.languageId) > -1 || editor.document.uri.scheme === 'output') {
158158
statusBarItem.show();
159159
} else {
160160
statusBarItem.hide();

0 commit comments

Comments
 (0)