Dot Ignorer is here to help you manage .gitignore
files directly within Visual Studio Code.
Generate .gitignore
files effortlessly using a wide range of curated templates and customize them as needed.
- Generate
.gitignore
: Quickly create.gitignore
files using a comprehensive list of templates for various languages, frameworks, and environments (e.g., Node, Python, React, Vite, Java, Ruby, Go, and many more). - Curated Templates: Access templates sourced from the official GitHub gitignore repository and other project-specific sources.
- Simple & Fast: Lightweight extension with zero configuration required.
- Install the "Dot Ignorer" extension from the VS Code Marketplace here.
- Open the command palette (
Ctrl+Shift+P
orCmd+Shift+P
on Mac). - Run the command:
Dot Ignorer: Create git ignore
.
- Open your project workspace in VS Code.
- Open the Command Palette (
Ctrl+Shift+P
orCmd+Shift+P
). - Type
Create git ignore
and select theDot Ignorer: Create git ignore
command. - Choose the desired template from the quick pick list that appears.
- If a
.gitignore
file already exists in your workspace root, you'll be asked to confirm if you want to overwrite it. - The selected template content will be added to the
.gitignore
file in your workspace root.

💡 The extension includes templates for many popular technologies, including:
- Node.js
- Python
- React
- Vite
- Java
- Ruby
- Go
- C++ / C
- Rust
- VisualStudio
- Unity
- UnrealEngine
- ...and many more!
(See the full list within the extension's quick pick menu)
⚡ Visual Studio Code version 1.99.0 or higher. ⚡ Node.js (LTS version recommended) ⚡ pnpm
🔌 This extension does not contribute any settings at this time.
Contributions are welcome! If you'd like to add a new .gitignore
template or improve the extension, please see the Contributing Guidelines.
Adding a template is easy:
- Add your
<YourTemplateName>.gitignore
file to thesrc/templates/
directory. - Add the template name (
"YourTemplateName"
) to the list insrc/lib/options.ts
. - Submit a Pull Request!
🐞 Please report any issues or suggestions on the issues page.
- Initial version of Dot Ignorer.
- Feature: Generate
.gitignore
files from a list of templates. - Command:
dot-ignorer.createGitignore
.
- Rename project to dot-ignorer
- Fixed a bug where template files weren't being found when the extension was installed from the marketplace.
🙌 Enjoy and keep your API keys safe!