Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 26, 2011 Is there an indenter/formatter/prettyprinter for D? | ||||
---|---|---|---|---|
| ||||
Either one dedicated to D (D2 specifically), or a configuration for 'indent' or some other cross-language prettyprinter? Thanks. |
October 26, 2011 Re: Is there an indenter/formatter/prettyprinter for D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Davidson Corry | On Tue, 25 Oct 2011 17:07:31 -0700, Davidson Corry wrote:
> Either one dedicated to D (D2 specifically), or a configuration for 'indent' or some other cross-language prettyprinter?
>
> Thanks.
Not really. indent already mostly works, similarly vim mostly gets it right. Visual D has something but I don't know if it is any better than indent.
|
October 26, 2011 Re: Is there an indenter/formatter/prettyprinter for D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | Uncrustify works with D. You might want UniversalIndentGUI as a frontend if you don't prefer commandline. |
October 26, 2011 Re: Is there an indenter/formatter/prettyprinter for D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Davidson Corry | On 2011-10-26 02:07, Davidson Corry wrote: > Either one dedicated to D (D2 specifically), or a configuration for > 'indent' or some other cross-language prettyprinter? > > Thanks. The Eclipse plugin Descent has a formatter. Don't know if it works for D2. -- /Jacob Carlborg |
October 26, 2011 Re: Is there an indenter/formatter/prettyprinter for D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | On 10/25/2011 6:14 PM, Andrej Mitrovic wrote:
> Uncrustify works with D. You might want UniversalIndentGUI as a
> frontend if you don't prefer commandline.
Oh, I definitely prefer command line.
As far as I'm concerned, user interface hit its peak with CP/M's PIP,
and has gone downhill ever since. <grin/>
Thanks for the tip on Uncrustify.
|
Copyright © 1999-2021 by the D Language Foundation