diff view: suggestion: indication of 80-chars limit

Issue #80 new
Thomas De Schampheleire created an issue

In diff views, it would be nice to be able to see where the 80 / 120 / ... character limit is, mainly useful for code review in projects where there is a limit on line length.

Some example implementations: - a kind of ruler at the top of each diff section (for each file) where column 10, 20, ... is indicated. - similar to vim's colorcolumn, a permanent different background color of column 80, 120, ... - an indication on the line itself, only visible when hovering the line

The columns to highlight could be fixed, a configuration option (per project, or per user), or dynamically changeable at the top of the diff view (with a default value).

Comments (2)

  1. Mads Kiilerich

    This and other "coding style compliance" visualization is something that I think it is better to handle with some kind of plugin. In my case, a patch on top of the upstream version works just fine.

  2. Log in to comment