Explorer Focus
Filter the built-in Explorer to show only the folders you choose — with a modal folder picker. Built for very large repositories.
Features
- Modal folder picker — checkbox tree with search, lazy-loaded folders
- Filters the native Explorer — no separate sidebar tree; changes apply directly to Files
- Explorer toolbar button — filter icon in the Explorer title bar
- Persistent — selection survives reloads via workspace state
- Fast — no full-repo scan; only reads directories you expand in the picker or along selected paths
Usage
- Open a workspace.
- Click the filter icon in the Explorer title bar, or run Explorer Focus: Choose Visible Folders.
- Expand folders, check the ones you want visible, and click Apply to Explorer.
- The built-in Explorer hides everything except paths leading to your selections.
- Click Show all folders (or the clear command) to restore the full tree.
You can also right-click a folder in the Explorer → Add To Explorer Focus to include it quickly.
Commands
| Command |
Description |
explorerFocus.configure |
Open the folder picker modal |
explorerFocus.clearFocus |
Show all folders again |
explorerFocus.addToExplorerFocus |
Add a folder from the Explorer context menu |
How it works
Explorer Focus writes targeted files.exclude patterns for unselected sibling folders. It never runs findFiles('**/*') or indexes the repository.
Development
npm install
npm run compile
npm test
npm run package
Press F5 to launch the Extension Development Host.
License
MIT
| |