Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Hide GitignoredNew to Visual Studio Code? Get it now.
Hide Gitignored

Hide Gitignored

npx

|
42,276 installs
| (12) | Free
Hide files from the Explorer panel that match the patterns in .gitignore
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

hide-gitignored

Hide files from the file Explorer that are ignored by your workspace's .gitignore files.

Upon running the registered command, the workspace's .gitignore files are read and converted to files.exclude rules that vscode can interpret. Your workspace settings will be created or updated.

Acknowledgement

Credit goes to vscode-ignore-gitignore, which unfortunately is not maintained anymore. I have been given permission to re-release.

TODO

  • run on saving .gitignore files [+ setting]
  • tests
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft