Tab groups for VS Code

Viewed 10971

Is it possible to have tab groups in VSCode somehow? Maybe there is an extension or a native setting for this?

E.g. I'm working on a project, for which I would like to have three groups:

  • The files I'm actively working on
  • Test files, for reference
  • Files for a specific feature, for reference

I do not care too much what a UI for such a VSCode feature would look like. I just need the grouping for quick and easy tabs access.

One of the options for the UI is to have three meta tabs which would represent the groups and whenever I click the meta tab I would like to be presented with the actual respective file tabs.

2 Answers

Just recently found a VSCode extension similar to what you are describing: Tab Groups

It's working with tabs in a little hacky way because VSCode doesn't provide some API yet, so it iterates through each tab to manipulate them.

Also, check out the feature with git branches, extension can autosave and reopen tabs on branch change.

U can use Split Editor which is in the top right corner. You can drag files to the sides and open them in tabs.

Related