Monorepos and multi-folder workspaces are a mess in Cursor, Windsurf, VS Code, and other AI-powered editors.
Workspaces Filter lets you hide folders from your workspace without removing them. One shortcut, toggle what you need, get back to work.
Why
AI context control: Your AI assistant pulls context from all visible folders. Toggle visibility to focus it on what matters. No more "please ignore the backend folder" in every prompt.
Linter sanity: ESLint, Ruff, Pylint, Biome, TypeScript... these tools run constantly on your entire workspace. Different configs per folder will conflict. Hide what you're not working on.
Focus: Working on the frontend, hide the backend. Debugging the API, hide the mobile app. Simple.
Persisted: Hidden folders stay hidden across sessions. Open your editor tomorrow, same setup.
Usage
Ctrl+Shift+W (or Cmd+Shift+W on Mac)
Or open the command palette (Ctrl+Shift+P) and type "Workspaces Filter: Toggle Folders"
A picker opens:
✓ = visible (click to hide)
○ = hidden (click to show)
Toggle as many as you want, the picker stays open. Press Escape when done.
Install
Search "Workspaces Filter" in the VS Code Extensions panel, or: