Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Gitignore AdderNew to Visual Studio Code? Get it now.
Gitignore Adder

Gitignore Adder

beatrix

|
1,933 installs
| (0) | Free
Add files to gitignore easily.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Gitignore Adder

This extension allows you to add selected directory or file to the .gitignore easily.

Features

  • Create a .gitignore file with a single command
  • Add selected directory or file to the .gitignore by right clicking on the file name in the file explorer
  • Add current open file to the .gitignore by right clicking on the editor
  • Run on all VS Code editors, including VS Code web editors

Tip: If a .gitignore file does not exist at root when adding a file / directory, a new .gitignore file will be created at root automatically.

Screen Shot 2022-02-23 at 4 48 49 PM

Development

  • npm install
  • make changes
  • debug via F5 (Run Web Extension)
  • reload (Ctrl+R or Cmd+R on Mac) the VS Code window to check your changes.

Disabled icons created by Freepik - Flaticon

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