ComitGen is a VSCode extension that helps you save time writing Git commit messages by using advanced OpenAI technology to automatically generate accurate and descriptive commit messages.
README-EN README-中文
- Automatic generation of commit messages using OpenAI's technology.
- Customizable commit message templates.
- Proxy support for connections to the OpenAI API.
- Predefined template for AngularJS-style commit messages, facilitating adherence to best practices when crafting commits.
- Visual Studio Code 1.79.0 or later.
- Node.js 16 or later.
- Open Visual Studio Code.
- Visit the Extensions view (
Ctrl+Shift+X
). - Search for "Commit Message AI Generator".
- Click Install.
- Open your Git repository in VSCode.
- Make some changes to your code.
- Open the Source Control view (
Ctrl+Shift+G
). - Click on the "Generate commit message" button.
ComitGen.baseURL
: The base URL for the API. You can also specify a proxy URL if necessary.ComitGen.prompt
: The template for generating prompts to the OpenAI API.ComitGen.assistantPrompt
: The template for responses from the OpenAI API.
ComitGen.startGenCommitMessage
: Generates a commit message for your changes.ComitGen.setApiKey
: Sets your OpenAI API Key.ComitGen.clearApiKey
: Clears your stored OpenAI API Key.
Any contributions you make are greatly appreciated.
Distributed under the MIT License. See LICENSE
for more information.
wweggplant Project Link: https://github.com/wweggplant/ComitGen