Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Toggle Gitignored Files in ExplorerNew to Visual Studio Code? Get it now.
Toggle Gitignored Files in Explorer

Toggle Gitignored Files in Explorer

coilmark

|
2 installs
| (1) | Free
Status bar toggle for VS Code's built-in gitignore Explorer filter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Toggle Gitignored Files in Explorer

Marketplace Version Installs CI

Install from the VS Code Marketplace.

About this fork

This is a maintained fork of Hide Git Ignored by Chris Bibby, whose original project was archived in 2022 and delisted from the VS Code Marketplace. Full credit for the original extension goes to Chris Bibby; this fork revives it under the coilmark publisher with bug fixes and updated tooling. It was released as "Hide Git Ignored (Revived)" through v0.1.0 and renamed in v0.2.0.

This VSCode extension adds additional functionality to the .gitignore setting added to VSCode v1.68 (May 2022) which provided the option of hiding of files that are excluded in a .gitignore file from the explorer view.

Features

  • Context menu to show / hide
  • Status bar to indicate current setting

How to use

Action Command Palette
Show files excluded in .gitignore Show Gitignored Files
Hide files excluded in .gitignore Hide Gitignored Files

You can also toggle via the .gitIgnore status bar item (shown when the workspace contains a .gitignore file) or the Explorer context menu.

Key bindings

This extension ships no default keybinding (the one in the original collided with Toggle Developer Tools on Windows/Linux). To bind your own keys, open Preferences: Open Keyboard Shortcuts (Ctrl+K Ctrl+S / Cmd+K Cmd+S), search for gitignoredFiles.hide and gitignoredFiles.show, and assign a key to each command.

Attribution

Icon derived from Codicons by Microsoft, licensed CC BY 4.0.

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