Skip to content

Show rulers in commit message textbox for max lengths #93150

@CombeeMike

Description

@CombeeMike

Usability issue

When writing commit messages I'm missing the following information (at 1 glance):

  • How much more can I write in the current line?
    This is kind of available by the "x characters left message" but I find it easier to recognize a line which is "coming closer" than a decreasing written number.

  • Do all lines of a multi line commit meet the desired max line length?
    I can already move the cursor through all lines and wait for the "validator" to turn orange or stay green but I find that very laborious mainly for 2 reasons:

    • There's no way to tell at one glance if the whole message is valid.
    • When moving the cursor 1 line up or down, I always have to wait for the "validator update" and if it doesn't change I'm always left with the feeling of "did it maybe not update correctly"?

Solution/Request

  • Monospaced font in the commit message textbox (by now possible with setting scm.inputFontFamily)
  • The textbox should not "auto-wrap" but show a horizontal scrollbar if needed
  • 2 rulers at the values from settings Input Validation Length & Input Validation Subject Length

I see that this is at least related to #2718 but created a dedicated request since I'm not looking for any "auto correction" but only a better visual guidance.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygitGIT issueson-testplanscmGeneral SCM compound issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions