gitintellij-idea

IntelliJ commit 50-character line length reminder


When committing a change on the IntelliJ platform, is there a way to have it check that the first line of the commit message does not exceed the 50-character length limit?

Right now, I'm usually checking this manually, with the position indicator in the lower right corner of the main IDE window (the one that is formatted as line:character). However that indicator is sometimes hidden by other tool windows, and requires me to have the cursor at the end of the first line. Is there some setting I can enable or some plugin I can install to have the IDE check this for me?


Solution

  • For anyone still interested in this: I've come across a new setting which does allow what I initially wanted, in a settings group called 'Commit Dialog'.

    Commit dialog limit

    You can now have it warn you about a long subject line right in the dialog, without needing the visual aid of a delimiter!