FuturemanLab Commits
An AI-powered git commit message generator for VS Code using OpenAI.
Features
- One-click commits: Click the sparkle button in the Source Control view to generate a commit message from your staged diff.
- Works with
git commit in the terminal: When VS Code opens COMMIT_EDITMSG with no message yet, the extension can auto-fill it for you.
- Conventional Commits by default: Messages follow
feat:, fix:, docs:, refactor:, etc.
- Team-flavoured style: Add your own custom instructions in settings (e.g. ticket prefixes, tone, language).
- Multi-repo aware: Handles multi-root workspaces and lets you pick which repository to use.
Setup
- Install the FuturemanLab Commits extension in VS Code.
- Open VS Code Settings and search for
Futureman.
- Set your OpenAI API Key in
futuremanlabCommits.apiKey.
- Alternatively, you can set the
OPENAI_API_KEY environment variable.
- Stage some changes, open the Source Control view, and click the sparkle icon to generate your first commit message.
| |