Solution for Fatal flaw in D design which is holding back widespread adoption(tm)
Bane
branimir.milosavljevic at gmail.com
Wed Mar 31 11:44:02 PDT 2010
> It would be a start. Used by itself it would be a bit of a hassle, but
> having it hooked up to auto-run upon checkout/commit or upon save/load in
> the editor (this would ideally be better since you can double-check the
> reults before committing) would be pretty much what I already had in mind as
> a solution.
My thinking the same.
>
> Alhough it wouldn't necessarily even need to be a full-fledged source
> formatter. Just something to sanitize the whitespace between start-of-line
> and anything non-whitespace would be a huge improvement *and* be
> cross-language.
>
Only thing to be taken into special consideration are multi line strings. Sanitizing them would produce errors. Some kind of lexer or advanced regexpr match might be required.
>
More information about the Digitalmars-d
mailing list