Automating formatting for official D repos

kdevel kdevel at vogtner.de
Wed Jan 24 21:36:20 UTC 2024


On Monday, 22 January 2024 at 16:24:48 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> [...]
> With an automatic formatting tool, we can simply fix the code 
> and move on with our lives. No nitpicking, no asking how do I 
> fix this error, just ready to merge code!

What if a contributor thinks their whole code shall be exempt 
from reformatting by putting

     // dfmt off

in the very first line of the translation unit?




More information about the Digitalmars-d mailing list