beautifier

For Fortran 90+ is there any utility as good as astyle?

Can anyone recommend a nice Fortran code beautifier? f90pp/f90ppr works but is a bit dodgy and lacks the formatting options of C/C++ beautifiers like astyle. ...

Objective C source code method sorting

There are two kinds of programmers in the world: those who like their source code to have all identifiers, methods, etc. sorted and those who think the first kind of programmer are crazy. I am one of those who likes my code to be very organized (for those times I print the code on paper and need to find things). Is there a tool which w...

Is there a HTML code beautifier?

I would like to beautify my HTML before it hits the user's browser. Is there any free or open source libraries that do this? ...

Code beautifiers with reorganisation ?

Hello, As a code formatter in my git repository as a post commit hook, I use astyle in Java mode which is very cool. But does anyone knows a code formatter that can reoganize the code (ctors, accessors, mutators, etc ...), and reassemble them together ? Regards ...

Beautify HTML code using Ruby or Java?

I'm looking for pure Ruby (or Java) solutions for beautifying HTML code. I'm currently using Hpricot to parse HTML, since Nokogiri and other HTML parsers require external C programs. I assume that I can use Hpricot to clean up HTML if I can come up with a good algorithm. I'd prefer not to reinvent if this has already been done. ...

Looking for Java code beautifier (or maybe not beautify, but something to make code more elegant)

I don't know how to describe it, but I'm looking for a tool that makes suggestions to my code on how to be... more elegant. For example to make a nested if() statement a switch statement. something like this. As I don't know how to describe my problem I don't know what to search for. I thing code beautifier do not specifically change st...

Is there a code formatter/beautifier usable from Netbeans

The code formatting option that Netbeans has is not customizable enough for C/C++. For example it has options to add spaces to binary operators, but I cannot specify which. So putting it ON results in: (a == b && b == c) and putting it OFF results in: (a==b&&b==c) What I would ideally like is: (a==b && b==c) Any suggestions on h...

Uncrustify, how to force opening braces to share the previous code line?

Using the Uncrustify tool I would like to apply the 1TBS style, which places braces like this: if (x < 0) { printf("Negative"); } How do I do this? I can't seem to find the right options. ...

HTML formatter/tidy/beautifier for JavaScript

Is there any HTML formatter/tidy/beautifier out there written in JavaScript? I have made a content editor (CMS) which has both WYSIWYG and source code views. The problem the code written by the WYSIWYG editor is normally a single line. So I would like a JavaScript that could format this into a more readable form on demand. ...

What applications do you know of, that can reformat code?

Hello, I am looking for a list of code formatting and prettifying software; I have only found a few topics that all are language specific. This is not about syntax highlighting! If possible, I prefer lightweight, command-line, multiplatform, portable tools. Nevertheless, if there is no interesting alternative, I also like to know what...