This plugin provides two actions for cleaning commit messages in IntelliJ IDEA.
The Clean Commit Message action processes the commit message by removing hyphens (\-\) and underscores (\_) and formats it with a ticket prefix if detected.
The Get Ticket From Branch And Clean action uses the current Git branch name to extract a ticket identifier and applies it to the commit message.
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "CommitMessageCleanerPlugin" > Install
-
Using JetBrains Marketplace:
Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.
You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template. Current template version base: 2.6.0