Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1556)

Issue 6453161: Allow different column widths per filetype. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by Erik Wright
Modified:
9 years, 1 month ago
Reviewers:
M-A
CC:
leandrogracia, Jói
Visibility:
Public.

Description

Allow different column widths per filetype. BUG=143934 TEST=Create a patch containing a .java file and a .cc file, both with lines between 81 and 99 characters. View the diff and verify they render differently.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M codereview/views.py View 3 chunks +11 lines, -6 lines 0 comments Download
M settings.py View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5
Erik Wright
maruel: This is really a strawman to get your feedback. I don't know what would ...
11 years, 8 months ago (2012-08-21 20:19:22 UTC) #1
M-A
On 2012/08/21 20:19:22, Erik Wright wrote: > maruel: This is really a strawman to get ...
11 years, 8 months ago (2012-08-21 20:27:19 UTC) #2
Erik Wright
On 2012/08/21 20:27:19, M-A wrote: > On 2012/08/21 20:19:22, Erik Wright wrote: > > maruel: ...
11 years, 8 months ago (2012-08-21 20:28:58 UTC) #3
M-A
On 2012/08/21 20:28:58, Erik Wright wrote: > On 2012/08/21 20:27:19, M-A wrote: > > I ...
11 years, 8 months ago (2012-08-21 20:31:52 UTC) #4
Erik Wright
11 years, 8 months ago (2012-08-21 20:50:28 UTC) #5
On 2012/08/21 20:31:52, M-A wrote:
> On 2012/08/21 20:28:58, Erik Wright wrote:
> > On 2012/08/21 20:27:19, M-A wrote:
> > > I don't know, java devs can simply use 100 cols as their user settings and
> the
> > > presubmit check will warn anyway if a line is too long.
> > 
> > I'm reviewing a bunch of Android upstreaming stuff, and I suspect others
will
> be
> > too. Should everyone change their settings?
> 
> Everyone = people stuck with java, which is a subset of the devs (my
sympathies
> btw).
>  
> > If we are relying on presubmit check why not just make the default 100 then?
> 
> Number of C++/python devs >> Number of java devs

It seems contradictory to me to say that, for those of us who review both C++
and Java, there is no problem just changing your personal settings to 100
columns, and then to say that, for the team at large, a default of 100 columns
would somehow be detrimental.

I guess I'll change my personal setting to 100 and complain later if there is a
problem with it.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b