Ai Commits Plus for IntelliJ based IDEs/Android Studio.
Ai Commits Plus 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 Plus
- 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.
- Amazon Bedrock
- Anthropic
- Azure Open AI
- Claude Code (via CLI)
- Codex CLI (via CLI)
- DeepSeek
- Gemini Google AI
- Gemini Vertex AI
- GitHub Models
- Hugging Face
- Mistral AI
- LM Studio
- 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.
IntelliJ IDEA, PhpStorm, WebStorm, PyCharm, RubyMine, AppCode, CLion, GoLand, DataGrip, Rider, MPS, Android Studio, DataSpell, Code With Me
Or you could install it inside your IDE:
For Windows & Linux: File > Settings > Plugins > Marketplace > Search for "Ai Commits Plus" > Install Plugin > Restart IntelliJ IDEA
For Mac: IntelliJ IDEA > Preferences > Plugins > Marketplace > Search for "Ai Commits Plus" > Install Plugin > Restart IntelliJ IDEA
- 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 Plus
- Star the repository
- Buy me a coffee
- Rate the plugin
- Share the plugin
- Sponsor me
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
- Inspired by Nutlope's AICommits.
- openai-kotlin for OpenAI API client.
- langchain4j for LLM API clients.
Please see LICENSE for details.
###Method 2: Through the IDE Plugin Marketplace (future support) The plug-in is under review and is expected to be installed through the official plug-in market soon. ##Instructions for use
- ** Start Claude Code Tool Window**
- Find the Claude Code tool window on the right panel of IDEA.
- If not, open it via View → Tool Windows → Claude Code.
- ** Configure Claude Code path **
- Enter the full path to the Claude CLI in the "Claude Code Path" input box in the tool window
- For example:
/usr/local/bin/claudeorC:\\Users\\username\\AppData\\\Local\\\claude\\claude.exe
- ** Establish connection **
- Click the
Connect Claude Codebutton - Wait for the connection status to change to "Connected"
- Click the
###Development steps
- ** Import projects **
git clone <repository-url> cd claude_plugin ./gradlew idea
- ** Running development examples **
This will launch an IDEA instance with a plug-in for testing
./gradlew runIde
- ** Build and test ** If you want to clean up the cache
./gradlew clean build--no-daemon--refresh-dependencies
./gradlew build --no-daemon#Build plug-ins
./gradlew buildPlugin --no-daemon
./gradlew buildPlugin
#Run the test
./gradlew test
#Verify Plug-ins
./gradlew verifyPlugin