jhertz
jhertz

Reputation: 660

Visual Studio Code previous/next editor

I am looking for a quick way to switch the open editor between the files in order of use.

I found these two options

Both of these does not open the editor I had open last but instead loops through the editors in the order they were originally opened. (or am I missing something?)

What I am looking for is something similar to Eclipse use of the back and forward arrow.

Upvotes: 3

Views: 1362

Answers (2)

Mark
Mark

Reputation: 182821

For a cross-reference answer with a sample keybinding, see How can I go back to previous tab opened in VScode and particularly https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_42.md

v1.42 made some changes, it is now pretty easy to go back and forth through recently used editors even if they include split editors/other editor groups.

Upvotes: 1

CustodianSigma
CustodianSigma

Reputation: 746

Use Alt + [1-9] to switch to a specific tab or Ctrl + Tab to cycle between them.

Upvotes: 0

Related Questions