Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>explorer-excluded-filesNew to Visual Studio Code? Get it now.
explorer-excluded-files

explorer-excluded-files

Spyridon Alfredos Desyllas

|
6,421 installs
| (6) | Free
Exclude files from the Visual Studio Code explorer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

explorer-excluded-files

Exclude files from the Visual Studio Code explorer

Description

This extension uses the files.exclude setting to exclude specific files from the explorer.

By specifying file patterns to hide in the explorerExcludedFiles.patterns string array setting, you can hide specific files from the explorer.

If you specify a pattern beginning with file://, e.g., "file://.gitignore", the pattern is interpreted as a file and that file is read. It is expected to contain file patterns to hide in the same format as a .gitignore file.

The default value of explorerExcludedFiles.patterns if it is not defined is [ "file://.gitignore" ]. To suppress this functionality, since explorerExcludedFiles.patterns is created if not defined, use an empty array, i.e., [].

Commands

The following commands are provided to disable/enable the above functionality:

Command Show Explorer Excluded Files

Command Hide Explorer Excluded Files

Extension Settings

This extension contributes the following settings:

  • explorerExcludedFiles.patterns: string array with file patterns to exclude from the explorer
  • explorerExcludedFiles.patterns: whether or not to show the excluded explorer files

Changelog

https://github.com/sadesyllas/explorer-excluded-files/blob/master/CHANGELOG.md

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