digitalmars.D.ide - Is there a tool to format/indent D code
- Sparsh Mittal (2/2) Jan 28 2013 I wanted to ask if there is a tool to format/indent D code. I
- Jussi Jumppanen (11/13) Jan 28 2013 You could try the Astyle utility:
- Jacob Carlborg (5/7) Jan 29 2013 Checkout Mono-D:
- Sparsh Mittal (1/1) Jan 30 2013 Thanks a lot. That was very helpful.
I wanted to ask if there is a tool to format/indent D code. I searched google but could not find. Thanks.
Jan 28 2013
On Monday, 28 January 2013 at 17:20:21 UTC, Sparsh Mittal wrote:I wanted to ask if there is a tool to format/indent D code. I searched google but could not find. Thanks.You could try the Astyle utility: http://astyle.sourceforge.net/astyle.html Astyle is designed to work with "brace languages" so it can handle D to a limited extent. The Astyle is used by the Zeus IDE to do generic styling so I did a quick check in Zeus on some D code and it seemed to work. But for Astyle to work the way you want, you will need to spend some time setting up the coding style that you prefer. Jussi Jumppanen Author: Zeus IDE
Jan 28 2013
On 2013-01-28 18:20, Sparsh Mittal wrote:I wanted to ask if there is a tool to format/indent D code. I searched google but could not find. Thanks.Checkout Mono-D: http://forum.dlang.org/thread/mgzucorrreevueyjjjiz forum.dlang.org -- /Jacob Carlborg
Jan 29 2013