VS Code extension for intelligent SCM operations - Multilingual commit message generation with AI support (9 languages supported) and future PR management features.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
VS Code extension for intelligent SCM operations - Multilingual commit message generation with AI support (9 languages supported) and future PR management features.
Usage
Stage your changes in Git
Click the "Generate Commit Message" button in the SCM view (or use the command palette)
Review and optionally edit the generated message
Commit your changes
Features
otak-committer is a powerful VS Code extension that leverages AI to automatically generate Git commit messages.
Key Features
Multilingual Support: Generate commit messages in 9 languages:
🇺🇸 English
🇫🇷 French (Français)
🇩🇪 German (Deutsch)
🇮🇹 Italian (Italiano)
🇯🇵 Japanese (日本語)
🇨🇳 Chinese (中文)
🇰🇷 Korean (한국어)
🇻🇳 Vietnamese (Tiếng Việt)
🇷🇺 Russian (Русский)
Flexible Message Styles: Choose from three levels of detail for your commit messages:
Simple: Concise summary (100 tokens)
Normal: Standard length with context (200 tokens)
Detailed: Comprehensive explanation (500 tokens)
Git SCM Integration: Seamlessly integrated into VS Code's Git interface with a dedicated button in the SCM view.
Requirements
Visual Studio Code ^1.9.0
Git installed and configured
OpenAI API key
Getting OpenAI API Key
To use this extension, you need an OpenAI API key. Here's how to get one:
Open VS Code Settings (File > Preferences > Settings)
Search for "otakCommitter.openaiApiKey"
Paste your API key into the text field
Note: The extension uses GPT-4o model to generate commit messages. Make sure your OpenAI account has access to GPT-4o API.
Installation
Install the extension from the VS Code Marketplace
Configure your OpenAI API key in the extension settings
Select your preferred language and message style
(Default language is English)
Extension Settings
This extension contributes the following settings:
otakCommitter.language: Language for commit messages (default: "english")
otakCommitter.messageStyle: Style and length of generated commit messages (default: "normal")
otakCommitter.openaiApiKey: OpenAI API Key for generating commit messages
Commands
otak-committer.generateMessage: Generate a commit message for staged changes
otak-committer.openSettings: Open the extension settings
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License - see the LICENSE file for details.