Skip to content

wellesonx/ai-commits-intellij-plugin

 
 

Repository files navigation

AI Commits

AI Commits for IntelliJ based IDEs/Android Studio.

Build Status


Description

AI Commits is a plugin that generates your commit messages by using git diff and OpenAI. To get started, install the plugin and set OpenAI private token in plugin's settings: Settings > Tools > AI Commits

Features

  • Generate commit message from diff using OpenAI API
  • 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
  • Choose any of the models available in OpenAI API
  • Set OpenAI network proxy
  • Set custom OpenAI compatible API endpoint

Demo

Shows an illustrated sun in light mode and a moon with stars in dark mode.

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

  1. Download zip from releases
  2. Import to IntelliJ: Settings > Plugins > Cog > Install plugin from disk...
  3. Set OpenAI private token in plugin's settings: Settings > Tools > AI Commits

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.

About

AI Commits for IntelliJ based IDEs/Android Studio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%