digitalmars.D.learn - Is there an indenter/formatter/prettyprinter for D?
- Davidson Corry (3/3) Oct 25 2011 Either one dedicated to D (D2 specifically), or a configuration for
- Jesse Phillips (4/8) Oct 25 2011 Not really. indent already mostly works, similarly vim mostly gets it
- Andrej Mitrovic (2/2) Oct 25 2011 Uncrustify works with D. You might want UniversalIndentGUI as a
- Davidson Corry (5/7) Oct 26 2011 Oh, I definitely prefer command line.
- Jacob Carlborg (4/7) Oct 25 2011 The Eclipse plugin Descent has a formatter. Don't know if it works for D...
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
Uncrustify works with D. You might want UniversalIndentGUI as a frontend if you don't prefer commandline.
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
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