Toggle visibility of files and folders in VS Code Explorer by inverting the files.exclude settings from your workspace configuration.
Features
Quick Toggle: Instantly hide or unhide files and folders in the VS Code Explorer
Workspace-based: Works with your existing files.exclude settings in your workspace configuration
Smart Inversion: Inverts the current exclude settings to show/hide files
Non-destructive: Preserves your original exclude settings
Usage
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
Search for "Hide/Unhide Files in Explorer"
Execute the command to toggle file visibility
The extension will:
If files are currently hidden by files.exclude settings, it will show them
If files are currently visible, it will hide them based on common patterns
How It Works
This extension works by reading your workspace's files.exclude configuration and inverting the boolean values. This allows you to quickly toggle between showing all files and hiding files based on your configured patterns.
Requirements
VS Code 1.95.0 or higher
Extension Settings
This extension uses your existing VS Code files.exclude settings. No additional configuration is required.