We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ae2f00 commit 438a7e3Copy full SHA for 438a7e3
Extension/src/LanguageServer/extension.ts
@@ -806,14 +806,9 @@ function onSwitchHeaderSource(): void {
806
vscode.window.showTextDocument(document, editor.viewColumn);
807
}
808
});
809
- // TODO: Handle non-visibleTextEditor...not sure how yet.
+
810
if (!foundEditor) {
811
- if (vscode.window.activeTextEditor !== undefined) {
812
- // TODO: Change to show it in a different column?
813
- vscode.window.showTextDocument(document, vscode.window.activeTextEditor.viewColumn);
814
- } else {
815
- vscode.window.showTextDocument(document);
816
- }
+ vscode.window.showTextDocument(document);
817
818
819
0 commit comments