Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Explorer FocusNew to Visual Studio Code? Get it now.
Explorer Focus

Explorer Focus

Prat

|
1 install
| (0) | Free
Pick folders in a modal and filter the built-in Explorer to show only what you need — fast in huge repositories.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  1. Open a workspace.
  2. Click the filter icon in the Explorer title bar, or run Explorer Focus: Choose Visible Folders.
  3. Expand folders, check the ones you want visible, and click Apply to Explorer.
  4. The built-in Explorer hides everything except paths leading to your selections.
  5. 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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft