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.
When using Visual Studio Code on Windows, you can use CTRL + PAGE_UP to switch to the previous tab, and CTRL + PAGE_DN to switch to the next tab. You also have the ability to switch to tabs based on their (non-zero relative) index. You can do so, by pressing and holding ALT , followed by a number (1 through 9).
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
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With