I just published a free extension for VS Code and every VS Code-based editor (Cursor, Windsurf, VSCodium, Trae...).
The problem
Big multi-root workspaces with many repos get slow and noisy. Removing a folder from the .code-workspace file means losing its entry, and adding it back means typing it again.
Workspace Folder Toggle gives every folder a checkbox. Untick one and its line is commented out with //; tick it and the // is removed. Nothing is deleted, and VS Code updates the Explorer straight away.
"folders": [
{ "name": "app", "path": "." },
{ "name": "api", "path": "../api" },
// { "name": "docs", "path": "../docs" }
]
Features
-
Groups: blank-line blocks become groups, named by a
// # Backendcomment, each with its own checkbox. - Profiles: save the current set as "frontend only" and apply it in one click.
-
Quick Toggle: a searchable picker with a keyboard shortcut, and a
3/10 oncount in the status bar. - Locked folders, pinning, drag and drop between groups, undo, Enable Only This and Invert Selection.
Install
- VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=giridharans1729.workspace-folder-toggle
- Open VSX (Cursor, Windsurf, VSCodium and other VS Code-based editors): https://open-vsx.org/extension/giridharans1729/workspace-folder-toggle
- Details: https://giridharans.vercel.app/projects/extensions/workspace-folder-toggle
It is free and MIT licensed. I would love feedback, bug reports or feature ideas in the comments.
I also built Claude per Device Usage, which shows this device's share of your Claude Code 5-hour and 7-day limits: https://giridharans.vercel.app/projects/extensions/claude-per-device-usage
More of what I build: https://giridharans.vercel.app (all my extensions: https://giridharans.vercel.app/projects/extensions)
Top comments (0)