D source code formatter

psychoticRabbit meagain at meagain.com
Thu Feb 22 05:38:38 UTC 2018


On Thursday, 22 February 2018 at 04:48:58 UTC, Nicholas Wilson 
wrote:
> On Thursday, 22 February 2018 at 04:35:24 UTC, psychoticRabbit 
> wrote:
>> I rely (heavily) on clang-format in my C code. It save me so 
>> much effort and has become a vital day to day tool for me.
>>
>> I was wondering whether D also has a 'reliable' source code 
>> formatter.
>> (reliable being a key word there).
>>
>> Also, if it does, then why is it not included in the 
>> distribution - given the importance of consistent source code 
>> formatting these days.
>
> look for 'dfmt'

thanks. but do you mean:

dfmt is certainly reliable, so go look for it.
  or
for look for dfmt and work out whether it's reliable.




More information about the Digitalmars-d mailing list