Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tab groups for Visual Studio Code

Is it possible to have tab groups in Visual Studio Code somehow?

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 Visual Studio Code 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.

like image 943
Sasuke Uchiha Avatar asked Sep 01 '25 03:09

Sasuke Uchiha


1 Answers

Just recently found a Visual Studio Code extension similar to what you are describing:

Tab Groups

It was initially working with tabs in a little hacky way before VSCode provided the API, so it was iterating through each tab to manipulate them. I'm not sure if that's been updated.

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

like image 199
Semro Avatar answered Sep 02 '25 17:09

Semro