Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>YAGINew to Visual Studio Code? Get it now.
YAGI

YAGI

anhkhoakz

|
6 installs
| (0) | Free
Yet! Another .gitignore
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Project Icon

YAGI

YET! ANOTHER .GITIGNORE

A Visual Studio Code tool called YAGI facilitates the rapid creation and administration of .gitignore files for your projects. It retrieves current templates for a variety of languages, tools, and environments using the Toptal gitignore API.

Open VSX Downloads Visual Studio Marketplace Downloads

Features

Create a fresh.gitignore file using the templates you've chosen (e.g., node, macos, vscode, etc.)

  • Replace or add to an already-existing .gitignore file
  • Gets templates straight from the Toptal API, so you're always getting the most recent suggestions.

Application

  1. Launch the command palette (Ctrl+Shift+P on Windows/Linux, Cmd+Shift+P on macOS).
  2. Type Generate .gitignore into the command bar.
  3. Choose one or more templates (such as node, macos, or vscode) from the list.
  4. If a .gitignore already exists, decide whether to append or override it.
  5. Review the generated .gitignore file to ensure it meets your project's needs.

Conditions

A working Internet connection (to retrieve templates from the API) and Visual Studio Code 1.99.0 or later

Settings for Extensions

YAGI can be configured through VS Code settings. Here are the available options:

  • yagi.templateListTtl: Time to live for template list cache in milliseconds (default: 24 hours)
  • yagi.gitignoreCacheTtl: Time to live for gitignore content cache in milliseconds (default: 1 hour)
  • yagi.maxCacheSize: Maximum number of cached gitignore templates (default: 100)
  • yagi.defaultTemplates: Array of template names to pre-select when generating .gitignore
  • yagi.customApiEndpoint: Custom API endpoint for gitignore templates
  • yagi.customGitignorePath: Custom path for .gitignore file (relative to workspace root)

Example settings.json:

{
    "yagi.templateListTtl": 86400000,
    "yagi.gitignoreCacheTtl": 3600000,
    "yagi.maxCacheSize": 100,
    "yagi.defaultTemplates": ["node", "vscode"],
    "yagi.customApiEndpoint": "https://www.toptal.com/developers/gitignore/api",
    "yagi.customGitignorePath": ".gitignore"
}

Recognized Problems

In order to retrieve templates, an internet connection is necessary. It only functions in folders that are opened in Visual Studio Code as a workspace.

Notes on Release

1.0.0-First release: Use the Toptal API to create and manage .gitignore files

1.0.1-Added the ability to append to an existing .gitignore file, update README


License

For more information, see LICENSE.

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