[MonoDevelop] New code formatter joins line to aggressively

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Sep 13 21:08:54 EDT 2009


On Sat, Sep 12, 2009 at 2:24 AM, Mike Krüger <mkrueger at novell.com> wrote:
> Hi
>
>> Not all developers have 28" screens. A 13" Macbook, for example, has
>> resolution of 1280x800. I can comfortably display about 120 columns on
>> such a screen. My desktop has a 24" screen @ 1920 x 1200 but use a
>> fairly large font, so I can only display ~140 columns.
>>
>> Even if the lines do fit on the screen, it's easier to mentally parse
>> an expression that is meaningfully split up over multiple lines.
>>
> Yes thats true, but with an artificial limit of X columns you can't
> assume that expressions got meaningfully split - they got split in a way
> that makes them harder to read. Read again what I've said - we can do it
> but is it really a good feature ?

True, manual splitting will almost invariably be better than automatic
splitting. Preserving such breaks is the best solution.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list