Skip to content
 
 

Repository files navigation

Ai Commits Plus

Ai Commits Plus for IntelliJ based IDEs/Android Studio.

Build Status


Description

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

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)
  • 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.

Demo

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 Plus" > Install Plugin > Restart IntelliJ IDEA

For Mac: IntelliJ IDEA > Preferences > Plugins > Marketplace > Search for "Ai Commits Plus" > Install Plugin > Restart IntelliJ IDEA

Installation from zip

  1. Download zip from releases
  2. Import to IntelliJ: Settings > Plugins > Cog > Install plugin from disk...
  3. Set LLM client configuration in plugin's settings: Settings > Tools > Ai Commits Plus

Support

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Acknowledgements

License

Please see LICENSE for details.

Star History

Star History Chart

###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

1. first time setup

  1. ** 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.
  2. ** 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/claude or C:\\Users\\username\\AppData\\\Local\\\claude\\claude.exe
  3. ** Establish connection **
    • Click the Connect Claude Code button
    • Wait for the connection status to change to "Connected"

###Development steps

  1. ** Import projects **
    git clone <repository-url>
    cd claude_plugin
    ./gradlew idea
  2. ** Running development examples **
    ./gradlew runIde
    This will launch an IDEA instance with a plug-in for testing
  3. ** 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

About

AI Commits for IntelliJ based IDEs/Android Studio.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages