- In an extension, listen for
vscode.window.tabGroups.onDidChangeTabs
- Switch between editor tabs in a single editor group
Bug
When the event is fired, if I check vscode.window.activeTextEditor I see that the active editor is still for the previous tab. It seems like visibleTextEditors is correctly updated
Here I've just switched from x2.ts to x.ts and have paused on the call to onDidChangeTabs

vscode.window.tabGroups.onDidChangeTabsBug
When the event is fired, if I check
vscode.window.activeTextEditorI see that the active editor is still for the previous tab. It seems likevisibleTextEditorsis correctly updatedHere I've just switched from
x2.tstox.tsand have paused on the call toonDidChangeTabs