digitalmars.D.learn - Is there an indenter/formatter/prettyprinter for D?
- Davidson Corry <davidsoncorry comcast.net> Oct 25 2011
- Jesse Phillips <jessekphillips+d gmail.com> Oct 25 2011
- Davidson Corry <davidsoncorry comcast.net> Oct 26 2011
- Andrej Mitrovic <andrej.mitrovich gmail.com> Oct 25 2011
- Jacob Carlborg <doob me.com> Oct 25 2011
Either one dedicated to D (D2 specifically), or a configuration for 'indent' or some other cross-language prettyprinter? Thanks.
Oct 25 2011
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.
Oct 25 2011
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.
Oct 26 2011
Uncrustify works with D. You might want UniversalIndentGUI as a frontend if you don't prefer commandline.
Oct 25 2011
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
Oct 25 2011









Davidson Corry <davidsoncorry comcast.net> 