This extension contributes the following settings:
aicommit.autoStage: Enable/disable automatically staging all changes before generating commit message
aicommit.providerOverride: Override the default provider specified in aicommit configuration
Usage
Open a git repository in VS Code
Make changes to your files
Open the Source Control view (Ctrl+Shift+G)
Click the "AutoCommit AI: Generate Commit Message" button in the source control toolbar
The generated message will be inserted into the commit message input box
Review and edit the message if needed, then commit as usual
Building from Source
If you want to build the extension from source, follow these steps:
Clone the repository:
git clone https://github.com/suenot/aicommit.git
cd aicommit/vscode-extension
Install dependencies:
npm install
Package the extension:
npm install -g @vscode/vsce # If you don't have vsce installed
vsce package
Install the extension:
# From VS Code UI:
# Open VS Code → Extensions → ... (More Actions) → Install from VSIX → Select the .vsix file
# Or using command line (if VS Code CLI is available):
code --install-extension aicommit-vscode-0.1.0.vsix
Development
For working on the extension:
Open the project in VS Code
Make your changes
Press F5 to launch a new VS Code window with the extension loaded
Test your changes in the new window
Make changes and press F5 again to reload
Known Issues
Currently only supports the first repository when multiple repositories are open