Integrated code formatter

Johan j at j.nl
Wed Jan 19 17:15:18 UTC 2022


On Tuesday, 18 January 2022 at 02:03:32 UTC, deadalnix wrote:
>
> You might want to have a go at sdfmt.
>
> 1/ clone https://github.com/snazzy-d/SDC
> 2/ Go in it and make -j bin/sdfmt
> 3/ bin/sdfmt -i myfile

This is great news! I have been very tempted to start create 
something myself, but it's much easier to contribute somewhere, 
thanks!

> It is very much work in progress, but uses an approach similar 
> to clang format (contrary to dfmt which IMO uses an approach 
> that doesn't lend itself to get the same level of quality).

+1

-Johan



More information about the Digitalmars-d mailing list