feat: AutoGenerate Commit Message in Git #8272
Open
+137
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds an AI-powered "Generate Commit Message" feature to the VS Code extension, allowing users to automatically generate concise commit messages for staged Git changes using their configured chat model. The feature is fully integrated into the VS Code command palette and the Source Control (SCM) UI, with appropriate error handling and user prompts.
New Commit Message Generation Feature:
continue.generateCommitMessage
, to the extension's command palette and SCM title menu, visible when a Git repository is present.commands.ts
to:AI Code Review
@continue-review
Checklist
Screen recording or screenshot
Screen.Recording.2025-10-16.at.9.26.07.AM.mov
Fixes:
fix #1424
Tests
Not yet. Let me know if the Continue team wants them.
Summary by cubic
Adds a "Generate Commit Message" command to the VS Code extension. It creates a concise message from staged Git changes and writes it to the SCM input with progress, cancellation, and safe rollback.