JetBrains-Research / RefactorInsight

An IntelliJ IDEA plugin that detects refactorings in Git commits
https://plugins.jetbrains.com/plugin/14704-refactorinsight
MIT License
99 stars 9 forks source link

Commit Message generation based on detected refactorings #141

Open KarolRoman opened 11 months ago

KarolRoman commented 11 months ago

It would be beneficial if a commit message could be generated based on detected refactorings.

Even if refactorings are only detected for commits, it would be wonderful to have this feature when editing the commit message. In many cases, people create commits with generic names, only to later squash and rename them based on the changes made.

Automating commit message generation could simplify this process.

onewhl commented 11 months ago

Hi @KarolRoman! Thank you for suggesting such a cool idea! Indeed, having information about performed refactorings in code changes could help to come up with descriptive commit messages. Currently, the project is not an active stage of development but if we get back to it we will definitely consider your idea.