Blarc/ai-commits-intellij-plugin
关于
面向基于 IntelliJ 的 IDE 和 Android Studio 的 AI 提交信息工具。
人工智能与机器学习可以做什么
- Generate commit message from git diff using LLM
- Compute diff only from the selected files and lines in the commit dialog
- Create your own prompt for commit message generation
- Use predefined variables and hint to customize your prompt
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文AI Commits
AI Commits for IntelliJ based IDEs/Android Studio.
Description
AI Commits is a plugin that generates your commit messages by using git diff and LLMs. To get started, install the plugin and configure a LLM API client in plugin's settings: Settings > Tools > AI Commits
Features
- Generate commit message from git diff using LLM
- Compute diff only from the selected files and lines in the commit dialog
- Create your own prompt for commit message generation
- Use predefined variables and hint to customize your prompt
- Supports Git and Subversion as version control systems.
Supported models
- Amazon Bedrock
- Anthropic
- Azure Open AI
- Claude Code (via CLI)
- Codex CLI (via CLI)
- Gemini Google AI
- Gemini Vertex AI
- GitHub Models
- Hugging Face
- Mistral AI
- Open AI
- Ollama
- Qianfan (Ernie)
The plugin is implemented in a generic way and uses langchain4j for creating LLM API clients. If you would like to use some other LLM model that is supported by langchain4j, please make a feature request in GitHub issues.
Demo
Compatibility
IntelliJ IDEA, PhpStorm, WebStorm, PyCharm, RubyMine, AppCode, CLion, GoLand, DataGrip, Rider, MPS, Android Studio, DataSpell, Code With Me
Install
Or you could install it inside your IDE:
For Windows & Linux: File > Settings > Plugins > Marketplace > Search for "AI Commits" > Install Plugin > Restart IntelliJ IDEA
For Mac: IntelliJ IDEA > Preferences > Plugins > Marketplace > Search for "AI Commits" > Install Plugin > Restart IntelliJ IDEA
Installation from zip
- Download zip from releases
- Import to IntelliJ: Settings > Plugins > Cog > Install plugin from disk...
- Set LLM client configuration in plugin's settings: Settings > Tools > AI Commits
Support
- Star the repository
- Buy me a coffee
- Rate the plugin
- Share the plugin
- Sponsor me
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Acknowledgements
- Inspired by Nutlope's AICommits.
- openai-kotlin for OpenAI API client.
- langchain4j for LLM API clients.
License
Please see LICENSE for details.
Star History
探索相关项目
加载中…