mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Don't remove TS version info when clicking in the debug or output panel fixes #16478
This commit is contained in:
@@ -17,11 +17,19 @@ export function showHideStatus() {
|
||||
versionBarEntry.hide();
|
||||
return;
|
||||
}
|
||||
|
||||
let doc = vscode.window.activeTextEditor.document;
|
||||
if (vscode.languages.match('typescript', doc) || vscode.languages.match('typescriptreact', doc)) {
|
||||
versionBarEntry.show();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!vscode.window.activeTextEditor.viewColumn) {
|
||||
// viewColumn is undefined for the debug/output panel, but we still want
|
||||
// to show the version info
|
||||
return;
|
||||
}
|
||||
|
||||
versionBarEntry.hide();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user