This was based on a feature request. It allows you to define virtual folders in a separate view. So if you're working on a C++ project, you can have headers and source files organised separately.
If no virtual folders are defined in your preferences, it will simply group files by their extension. If you want you can close the standard Open Editors view.
You can install the latest version of the extension via the Visual Studio Marketplace here.
Alternatively, open Visual Studio code, press
The source code is available on GitHub here.
The extension can be configured as follows:
Defines folder names with a list of globs to match files. E.g. for C++ you could use:
Due to a vscode API limitation, files are only added to the view as they are opened. The downside of this is that when you reopen vscode, the view will be empty. As each file is visited, it will get added to the view.
Icon by Hopstarter