DEV Community

Cover image for Stop hand-editing .code-workspace: checkboxes for VS Code multi-root workspace folders (free extension)
GIRIDHARAN S
GIRIDHARAN S

Posted on Edited on AI-assisted

Stop hand-editing .code-workspace: checkboxes for VS Code multi-root workspace folders (free extension)

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.

Workspace Folders view with grouped checkboxes, the Quick Toggle picker and the folder right-click menu

"folders": [
    { "name": "app", "path": "." },
    { "name": "api", "path": "../api" },
    // { "name": "docs", "path": "../docs" }
]
Enter fullscreen mode Exit fullscreen mode

Features

  • Groups: blank-line blocks become groups, named by a // # Backend comment, 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 on count in the status bar.
  • Locked folders, pinning, drag and drop between groups, undo, Enable Only This and Invert Selection.

Install


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)