On Wednesday, 4 March 2015 at 15:26:51 UTC, Russel Winder wrote:
I try to use DCD when working with Emacs for D code, but I keep
forgetting to start the server :-( I would certainly be happy
to using dfmt just as I use gofmt in Emacs. As long as the
from my preferred style is not to much I can live with a "One
That means that the Emacs plugin needs to start it automatically.
There ought to be for the compiler/formatter toolchain
will be problems. And if there is a D parser as library and it
would anyone want another parser?
Implementing a separate parser based on the language spec has
helped to find problems with the language spec. Having "One True
Implementation" can lead to problems as well.
(*) The exception is of course Phobos style which I find so
can't read code formatted that way.
By default dfmt tries to output Phobos style code. There is an
option to use a different brace style and another one to use tabs.