Thread overview | ||||||
---|---|---|---|---|---|---|
|
January 28, 2013 Is there a tool to format/indent D code | ||||
---|---|---|---|---|
| ||||
I wanted to ask if there is a tool to format/indent D code. I searched google but could not find. Thanks. |
January 28, 2013 Re: Is there a tool to format/indent D code | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sparsh Mittal | 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 |
January 29, 2013 Re: Is there a tool to format/indent D code | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sparsh Mittal | 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 |
January 30, 2013 Re: Is there a tool to format/indent D code | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | Thanks a lot. That was very helpful. |
Copyright © 1999-2021 by the D Language Foundation