Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Toggle Excluded FilesNew to Visual Studio Code? Get it now.
Toggle Excluded Files

Toggle Excluded Files

Eric Amodio

|
47,370 installs
| (16) | Free
| Sponsor
Quickly toggles excluded (hidden) files visibility in the file explorer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Toggle Excluded Files

Quickly toggles excluded (hidden) files visibility in the file explorer.

Excluded files are configured in your settings.json

"files.exclude": {
    "node_modules": true,
    "out": true
}

preview

Features

  • Adds a Toggle Excluded Files command (toggleexcludedfiles.toggle) with a shortcut of ctrl+shift+a (cmd+shift+a on macOS) to either show or restore the current visibility of excluded files in the file explorer

  • Adds a Explorer view button to toggle the excluded file visibility (optional, on by default)

  • Adds a status bar button to toggle the excluded file visibility (optional, on by default)

    • An indicator icon will show when the exclude visibility is currently toggled
  • Adds a Show Excluded Files command (toggleexcludedfiles.show) to show excluded files in the file explorer

  • Adds a Hide Excluded Files command (toggleexcludedfiles.restore) to hide (restore) excluded files in the file explorer

Extension Settings

Name Description
toggleexcludedfiles.explorer.enabled Specifies whether to show the toggle button in the Explorer view
toggleexcludedfiles.statusBar.enabled Specifies whether to show the toggle button in the status bar

Known Issues

None

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