Adding D support to Clang format

Guillaume Piolat first.last at spam.org
Sat Apr 29 14:32:02 UTC 2023


On Saturday, 29 April 2023 at 10:46:45 UTC, Johan wrote:
> I'm enthusiastic, but after some more thinking I think it's 
> wise to talk with the sdfmt team and discuss which way to go: 
> better to have everyone work on one project, rather than two. 
> I'm very interested in working on a good formatter, but not two 
> ;-)

I liked sdfmt when I tried it.
sdfmt doesn't support spaces as indentation (or even specifying 
the indent level), so it seems to contradict the "D style". So we 
have a tab vs space debate on our hands :) and even K&R vs Allman.


More information about the Digitalmars-d mailing list