AI SVN Commit
AI-powered SVN commit message generator for Visual Studio Code.
✨ Features
- Automatically generates structured commit messages from SVN diffs
- Supports both manual file selection and automatic mode
- Customizable prompt templates for different languages
- Real-time message editing before commit
📦 Requirements
- SVN command-line tool installed and in PATH
- Google Gemini API Key (free tier available)
🚀 Quick Start
- Install the extension from VS Code Marketplace
- Set up your Gemini API Key in extension settings
- Use the command palette or shortcut to generate commit messages
⚙️ Configuration
Extension Settings
Setting |
Description |
Default Value |
aiSvnCommit.geminiApiKey |
Your Gemini API Key |
"" |
aiSvnCommit.commitMessageLanguage |
Commit message language |
"zh-TW" |
aiSvnCommit.autoMode |
Enable automatic commit without confirmation |
false |
Custom Prompts
You can customize the AI prompts for different languages:
"aiSvnCommit.customPrompt.zh-TW": "你是一位專業的軟體工程師...",
"aiSvnCommit.customPrompt.en-US": "You are a professional software engineer..."
📖 Usage
Command Palette
- Open command palette (
Ctrl+Shift+P or Cmd+Shift+P )
- Search for "AI SVN Commit"
- Select files (if not in auto mode)
- Review and edit the generated message
- Press Enter to commit
Keyboard Shortcut
- Windows/Linux:
Ctrl+Shift+Q
- macOS:
Cmd+Shift+Q
🤝 Contributing
Contributions are welcome! Please open an issue or pull request on GitHub.
📜 License
MIT
| |