Reputation: 15654
Are there shortcuts to go back and forth between current and last selected tab with vscode ? Like I used to be able to do with webstorm.
Upvotes: 3
Views: 1223
Reputation: 662
If your coming from IntelliJ and you want to be able to switch tabs just like the default IntelliJ tab switcher, use these preferences:
The action "ctrl+tab" then "ctrl+tab" will quickly switch back and forth to the last recently used.
Upvotes: 0
Reputation: 15
There is an extension for this Window Switch by Victor Zhang (yeannylam). https://marketplace.visualstudio.com/items?itemName=yeannylam.window-switch
Change extension shortcut for windowSwitch.switchToLastOpenedFile.
Upvotes: 0
Reputation: 2470
Yes there is Ctrl + Tab. This will switch between current and recent tab.
You can also switch to any of open tabs by holding down the Ctrl key and hitting Tab repeatedly until your desired tab is highlighted from the tab selection dialog like that would appear upon first press of Ctrl + Tab keys,
Ctrl + Shift + Tab would do the same but it will start navigating to the tabs from opposite direction.
Upvotes: 6