Skip to content

About

A JetBrains series plugin to help git code submission specifications, support IDEA, WebStorm, AndroidStudio, PyCharm, CLoin, GoLand, PhpStorm ... https://plugins.jetbrains.com/plugin/13477-git-commit-message-helper/

Topics

Resources

Stars

96 stars

Watchers

1 watching

Forks

Repository files navigation

Git Commit Message Helper

English | 简体中文

Git Commit Message Helper is an IntelliJ Platform plugin for writing cleaner, more consistent commit messages without leaving the IDE. It combines a structured commit editor, customizable Conventional Commit templates (powered by Apache Velocity), and LLM assistance that speaks your gateway's protocol.

Git Commit Message Helper

Installation

Install from the JetBrains Marketplace:

File → Settings → Plugins → Marketplace → Git Commit Message Helper

Commit Panel Actions

The plugin adds four actions to the VCS commit message area. Each one can be shown or hidden in the plugin settings.

Action What it does
Generate Commit Message Generates a message from the selected changes via LLM.
Generate Commit Message With Additional Context Adds per-request requirements first — closed issues, skip-CI notes, bug descriptions — then generates.
Format Commit Message Rewrites the current draft to match the configured template.
Create Commit Message Opens the structured editor for manual composition.

Structured commit editor

Configuration

Open File → Settings → Git 提交消息助手 (Git Commit Message Helper). Everything is configurable:

  • Commit template (Apache Velocity), multiple templates with global/project defaults
  • Allowed commit types and their descriptions
  • Type display style, hidden fields, and skip-CI presets
  • Reusable prompt profiles with global and project defaults
  • Four commit action visibility toggles

LLM Compatibility

Each model profile picks one of three API formats, so one base URL works with whatever protocol your gateway speaks:

API format Endpoint Notes
Chat Completions /chat/completions OpenAI-compatible endpoints (OpenAI, DeepSeek, Qwen, Moonshot, MiniMax, ...)
OpenAI Responses /responses OpenAI Responses API and compatible gateways
Anthropic Messages /v1/messages Claude and Anthropic-compatible gateways

The Base URL can be a full endpoint or a server base such as https://api.openai.com/v1 — the plugin appends the matching path automatically.

Every profile also has a thinking level (Model default, Off, Low, Medium, High, Max). The plugin translates it into the parameter each protocol supports, and retries without it if a provider rejects the field.

LLM settings

Smart Echo: when the commit panel already contains text, the structured editor can ask the LLM to parse it back into fields (type, scope, subject, body, changes, closes, skipCi) so you can refine the draft instead of starting over.

Development

  • Java 11, Gradle IntelliJ Plugin, targets IntelliJ Platform 2024.1+
./gradlew buildPlugin

License

Licensed under the Apache License 2.0.

Credits

About

A JetBrains series plugin to help git code submission specifications, support IDEA, WebStorm, AndroidStudio, PyCharm, CLoin, GoLand, PhpStorm ... https://plugins.jetbrains.com/plugin/13477-git-commit-message-helper/

Topics

Resources

Stars

96 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages