Make VS Code editor Ctrl+Tab cycle tabs in the same order as they're displayed on screen?

Viewed 3610

When I go thru open tabs in VS Code by Ctrl+Tab keyboard shortcut, the next tab to display is not always the next tab over to the right of currently displayed. (I am taking wrap-around into account; this also happens when the current tab isn't rightmost) This is a problem for me from an aesthetic/UX point of view because tab changing feels out of sync with the gui, & it slows me down.

I'd be happy with a solution that either makes Ctrl+Tab follow the order displayed onscreen or makes the displayed order follow whatever order Ctrl+Tab is using. Thanks if you have any info

2 Answers

In %AppData%\Roaming\Code\User\keybindings.json add this:

{ 
    "key": "ctrl+tab", 
    "command": "workbench.action.nextEditor" 
},
{ 
    "key": "ctrl+shift+tab", 
    "command": "workbench.action.previousEditor" 
},
Related