Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ignore-gitignoreNew to Visual Studio Code? Get it now.
ignore-gitignore

ignore-gitignore

stubailo

|
9,098 installs
| (4) | Free
Use .gitignore to ignore files in the browser and search
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ignore-gitignore

A Visual Studio Code extension to use your .gitignore file to set ignored files in your editor.

Usage

After installing, open the command palette (CMD-shift-P on mac) and search for gitignore:

Screenshot of the command search

Then, select that option and the "search.exclude" and "files.exclude" sections of your workplace configuration will be overwritten with the values from any .gitignore files in your project.

Note that .gitignore files in nested directories are used too, and all of those are merged into one configuration.

Docs

The command added by this package lives under extension.ignoreGitignore, in case you want to use it in a script or hotkey.

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