VS Code Extensions
Explorer Focus

Explorer Focus

by Prat

Pick folders in a modal and filter the built-in Explorer to show only what you need — fast in huge repositories.

Downloads

6

Rating

— (0)

Version

0.2.1

Last updated

Jun 25, 2026

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

Related extensions