A VS Code extension that shows all open files in a dedicated sidebar view.
Compatible with VS Code 1.85.2 and later.
Features
Sidebar view — lists every file currently open in the editor (all tab groups), showing the file name with a path description to disambiguate duplicates.
Mini file explorer by default — open files are nested under their real directory hierarchy (workspace folders as roots), like a small file explorer. Click a file to open it. Hovering a file's path (or a folder row) shows the full directory path. The currently active editor file is highlighted and follows your focus.
Close from the sidebar — hover a file and click the × button to close it in the editor; hover a folder and click the × to close all open files under it at once.
Custom workspaces — define named folder paths in settings. Files under a matching path are grouped under that workspace; unmatched files go into an Unassigned group. Grouped-by-workspace mode kicks in automatically once at least one custom workspace is defined.
View mode toggle — the view toolbar button (or command Open Files: Toggle View Mode) cycles through flat → directories → grouped → auto.
Add workspace from UI — run Open Files: Add Workspace... to pick a folder and name it without hand-editing settings.
Usage
The Open Files view appears in the Activity Bar (left sidebar).
View modes
Mode
Behavior
auto (default)
Directory grouping; switches to custom-workspace grouping when openFiles.workspaces is non-empty.
flat
Plain list of open files sorted by full path.
directories
Force grouping by containing directory.
grouped
Force grouping by custom workspaces (Unassigned group holds the rest).
Matching is a path prefix check (a file is grouped under the first workspace whose path it starts with). Path comparison is case-insensitive on Windows.
When the list is non-empty the view automatically switches to grouped mode. Use the toggle button or openFiles.viewMode (auto / flat / grouped) to override.
Commands
Command
Description
Open Files: Refresh
Rebuild the view from the current editor tabs.
Open Files: Toggle View Mode
Cycle flat → directories → grouped → auto.
Open Files: Close File
Close a file from the view (invoked by the hover × button).
Open Files: Add Workspace...
Prompt for a name and folder, then append it to openFiles.workspaces.
Requirements
VS Code 1.85.2 or later (engines.vscode: ^1.85.2).
Extension Settings
Setting
Type
Default
Description
openFiles.viewMode
string
auto
auto / flat / directories / grouped.
openFiles.workspaces
array
[]
Custom workspace definitions { name, path }.
Release Notes
See the CHANGELOG.md file shipped with the extension.
License
MIT — see the LICENSE file shipped with the extension.