Thread overview
Prettify and Resync are now open source too
4 days ago
Ecstatic Coder
3 days ago
aberba
3 days ago
Bastiaan Veelo
3 days ago
Ecstatic Coder
3 days ago
Ecstatic Coder
4 days ago
I have released a few other tools on Github under the GNU GPL, including :

* Resync : a local folder synchronizer.
* Prettify : a source code prettifier for D and other languages.

https://github.com/senselogic

I don't know if some of you will be interested in them, but here they are...

3 days ago
On Friday, 19 May 2017 at 16:22:36 UTC, Ecstatic Coder wrote:
> I have released a few other tools on Github under the GNU GPL, including :
>
> * Resync : a local folder synchronizer.
> * Prettify : a source code prettifier for D and other languages.
>
> https://github.com/senselogic
>
> I don't know if some of you will be interested in them, but here they are...

Remote folder sync will be awesome for code back up
3 days ago
On Friday, 19 May 2017 at 16:22:36 UTC, Ecstatic Coder wrote:
> * Prettify : a source code prettifier for D and other languages.

Can you tell something about in what ways D code is prettified? How does it compare to dfmt?

Thanks.
3 days ago
On Saturday, 20 May 2017 at 15:38:04 UTC, Bastiaan Veelo wrote:
> On Friday, 19 May 2017 at 16:22:36 UTC, Ecstatic Coder wrote:
>> * Prettify : a source code prettifier for D and other languages.
>
> Can you tell something about in what ways D code is prettified? How does it compare to dfmt?
>
> Thanks.

The main difference is that it applies its own set of strict coding standard rules for PHP/HTML, JavaScript, CSS, C, C++ and D.

So it's basically a multi-language alternative to dfmt, which presents the prettified code a little differently (spaces, indentations, alignments, etc).

3 days ago
To see how the prettified looks like, the easiest way is to have a look at any D source code file on the SenseLogic github account (https://github.com/senselogic/).

All of them have had their spacings, indentations and alignments automatically standardized by Prettify.

Basically, it's just Allman style code with leading operators in hierarchical expressions and four spaces per level of indentation, so nothing fancy...

Of course, the code style and readability are also a matter of taste, so it's up to you to decide if you think that the code has been prettified or "uglified" ;)