Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>FicommitgenNew to Visual Studio Code? Get it now.
Ficommitgen

Ficommitgen

Feri Irawan

|
1 install
| (0) | Free
Commit generation extension for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ficommitgen-vscode

ficommitgen-vscode is a Visual Studio Code extension that generates commit messages automatically using Google Gemini AI (currently) based on changes (git diff) in your Git repository.

✨ Features

  • 🔍 Automatically reads git diff and git log for more accurate context
  • 🧠 Generates commit messages using AI, following the Conventional Commits specification
  • 📋 Automatically inserts the generated message into the Source Control input box
  • 🧩 Integrated with VS Code's built-in Git UI (button in the Source Control title)
  • 🛡️ API token is securely stored using VS Code's SecretStorage (not settings.json)

🛠️ Requirements

  • VS Code version 1.101.0 or later
  • A Git repository must be initialized (git init)
  • A Google Gemini API token (you'll be prompted on first use)

🚀 Usage

Generate Commit Message

You can generate a commit message in two ways:

  1. Open the Source Control panel
  2. Click the "Generate Commit" button (sparkle ✨ icon) in the Source Control title

OR

  1. Open the Command Palette (Ctrl+Shift+P on Windows/Linux, Cmd+Shift+P on macOS, or F1)
  2. Select "Ficommitgen: Generate Commit"

Note: If you have staged changes, it will try to generate commit message based on staged changes first. If not, it will generate commit message based on unstaged changes.

Set Token

To reset or update your API token:

  1. Open the Command Palette
  2. Select "Ficommitgen: Set Token"

⚙️ Extension Settings

There are currently no settings configurable via settings.json.

🐛 Known Issues

  • If your project is not initialized as a Git repository, the extension will not work.
  • If the Gemini API token is missing, incorrect, or rate-limited, commit generation will fail.

📦 Build & Install Locally

To build and install the extension manually:

npm install -g vsce
vsce package
code --install-extension ficommitgen-vscode-0.1.0.vsix

🤝 Contributing

To contribute to this project:

  1. Fork the repository
  2. Create a new branch for your feature or fix
  3. Commit your changes
  4. Push your branch
  5. Open a pull request

Enjoy using ficommitgen-vscode! 🎉

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