'Switch between tabs from different tab groups in vscode
Is it able to switch between tabs from different groups? Because now if I create two tabs groups and start switching (using Ctrl+Tab) it will start switching tabs within group (not tab from one group to the tab in other group).
I have tried with workbench.action.openNextRecentlyUsedEditor but literally nothing is happening.
Solution 1:[1]
There's an open feature request that complains about the unexpected behavior of workbench.action.openNextRecentlyUsedEditor:
workbench.action.openNextRecentlyUsedEditor does not behave as expected (#37366)
Note that it's not that the command doesn't do anything, but that it only does something if there's still another editor left in the recently used list (so it doesn't work as a toggle like Ctrl+Tab does).
Solution 2:[2]
First, you can use Ctrl +<group number> to shift the focus to the group you wanted. Then you can use Ctrl + Tab to shift between the tabs within that group.
Let's say I have 2 groups open and I wanted to shift the focus to group 2. I use Ctrl + 2. Later, I can focus on different tabs within group 2 using Ctrl + Tab.
(Ref) Other related shortcuts are here: https://code.visualstudio.com/docs/getstarted/keybindings#_editorwindow-management
Solution 3:[3]
What worked for me as of 29 Mar 2022;
workbench.action.focusLeftGroup
workbench.action.focusRightGroup
These are in effect similar to tabbing left or right.
I set custom commands with:
[alt+l, alt+g]
[alt+r, alt+g]
respectively.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | |
| Solution 3 | Jeremy Caney |

