Top "Code-formatting" questions

Code formatting is the way to format the source code of programs,using spaces and tabs, improving legibility of source code.

Best C++ Code Formatter/Beautifier

There are lots of source code formatting tools out there. Which ones work best for C++? I'm interested in command-line …

c++ code-formatting
How can I break up this long line in Python?

How would you go about formatting a long line such as this? I'd like to get it to no more …

python formatting code-formatting
Online code beautifier and formatter

What are the best online code beautifier and formatter out there? I'm not asking for highlighters. Any language will do.

code-formatting
How to format code in Xcode?

I wonder how can I format my code to align it neatly? Does it have a feature similar to Eclipse's …

xcode format keyboard-shortcuts code-formatting
How can I indent multiple lines in Xcode?

When I select multiple lines of code and want to indent them as usual with TAB key, it just deletes …

xcode code-formatting
How can I beautify JSON programmatically?

Do you know of any "JSON Beautifier" for JavaScript? From {"name":"Steve","surname":"Jobs","company":"Apple"} To { "name" : "Steve", "surname" : "…

javascript json code-formatting pretty-print
Is it possible to auto-format your code in Dreamweaver?

Is it possible to auto-format your code in Dreamweaver like in Visual Studio (ctrl+k+d)

html formatting dreamweaver code-formatting
What is the proper way to format a multi-line dict in Python?

In Python, I want to write a multi-line dict in my code. There are a couple of ways one could …

python indentation code-formatting multiline
How can I autoformat/indent C code in vim?

When I copy code from another file, the formatting is messed up, like this: fun() { for(...) { for(...) { if(...) { } } } } How can …

c vim code-formatting
How to turn off the Eclipse code formatter for certain sections of Java code?

I've got some Java code with SQL statements written as Java strings (please no OR/M flamewars, the embedded SQL …

java eclipse code-formatting pretty-print eclipse-formatter