dfmt options

anonymous via Digitalmars-d digitalmars-d at puremagic.com
Sun Mar 15 00:22:06 PDT 2015


On Saturday, 14 March 2015 at 23:15:35 UTC, Brian Schott wrote:
> * Hard limit for line length
> * Soft limit for line length

offset for line wrap, e.g:

- right guide = 80;
- right tolerance = 10;

if line length = 84 then no new line
if line length = 91 then new line from the leftmost token before 
the 80th column.

I've recently used another formating tool which is too strict 
with the right guide because it's often not desirable to start a 
new line if the last token is just 5 chars over the guide.



More information about the Digitalmars-d mailing list