Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VS Code File FilterNew to Visual Studio Code? Get it now.
VS Code File Filter

VS Code File Filter

SwitchCase Studios

|
4 installs
| (0) | Free
Filters file browser in real time like Visual Studio
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code File Filter

by SwitchCase Studios

A file filtering extension that adds a dedicated "Filtered Files" view to VS Code's Explorer panel, allowing you to quickly find and navigate to specific files using pattern matching - just like Visual Studio's file filter functionality.

Features

  • Pattern-based filtering: Use wildcards like *.js, *.py, or search terms like *test* to find files
  • Exact extension matching: Search .py to find only Python files (won't match .pyc files)
  • Auto-expanding folders: When you apply a filter, matching folders automatically expand to show results
  • Performance optimized: Only scans files when a filter is active (great for large projects)
  • Configurable exclusions: Customize which folders to include/exclude from searches

How to Use

  1. Open the Explorer panel in VS Code
  2. Find the "Filtered Files" section below the regular file explorer
  3. Click the filter icon (🔍) to set a filter pattern
  4. Enter your pattern:
    • *.ts - Find all TypeScript files
    • *.py - Find all Python files
    • *test* - Find files containing "test"
    • .md - Find all Markdown files
  5. Browse the filtered results - folders automatically expand to show matches
  6. Click the clear icon (🗑️) to remove the filter

Extension Settings

This extension contributes the following settings:

  • vsCodeFileFilter.excludedDirectories: Folders to skip when filtering files (default: ["node_modules", "bin", "obj", "out", "dist", ".git", ".vscode-test"])
  • vsCodeFileFilter.includedDirectories: If you want to only search in specific folders, list them here (overrides the exclude list)
  • vsCodeFileFilter.maxDepth: How deep to search in your folder structure (default: 10, higher numbers = slower but more thorough)

Requirements

  • VS Code 1.105.0 or higher

Known Issues

  • Large projects with very deep folder structures may take a moment to filter
  • To offset no filtering is done until an active filter is applied and ignores ecluded directories
  • Binary files are included in search results

Release Notes

0.0.1

Initial release of VS Code File Filter

  • Pattern-based file filtering
  • Auto-expanding filtered results
  • Configurable include/exclude directories
  • Performance optimized for large projects

Enjoy faster file navigation!

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