Skip to content
Advertisement

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

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

Advertisement

Answer

By default, Ctrl+Tab switches tabs in the order of last use. (The tabs are switched to in reverse chronological order)

According to the VS Code docs, by default, the method to switch tabs linearly is as follows:

  • Ctrl+PageUp: Go left an Editor (Command: workbench.action.previousEditor)

  • Ctrl+PageDown: Go right an Editor (Command: workbench.action.nextEditor)

Of course, these are remapable to your liking, but these are the defaults.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement