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.

How to format pasted JSON in IntelliJ / Android Studio

I often need to use a text editor while writing code to paste random notes but especially JSON responses, where …

json android-studio intellij-idea code-formatting
How do I comment in CoffeeScript? "/* this */" doesn't work

In what ways can you comment in CoffeeScript? The documentation say you can use three hash symbols to start and …

coffeescript code-formatting comments block-comments
Eclipse: Can you format code on save?

In Eclipse, under Windows -> Preference -> Java -> Code Style, you can define code templates for …

eclipse code-formatting code-standards
Windows batch command to ignore case sensitivity in variables

I have a set of variables I allow some people I work with to edit. These are True (T) and …

variables batch-file case-sensitive code-formatting
How to format html files in Eclipse?

The XML formatting works perfect but not the html formatting. In fact if I use "cmd-shift-F" for a html file, …

eclipse code-formatting eclipse-wtp
How can I install clang-format in Ubuntu?

I am trying to use clang-tools in particular clang-format for automatic code formatting in vim but I couldn't find this …

vim clang code-formatting clang-format
How to format all Java files in an Eclipse project at one time?

I have an old Eclipse project and the code is not well formatted. I'd like to format all the .java …

eclipse code-formatting
Autoindent on Sublime Text

Are there any command/shortcut to auto-indent all my code on the page at once on Sublime Text 3? e.g: …

sublimetext3 sublimetext code-formatting
How do I align/format code in Android Studio?

Is there a way/shortcut/built-in feature that can align code for operands, like '=' signs? For example, there …

android-studio code-formatting code-readability
Stand-alone Java code formatter/beautifier/pretty printer?

I'm interested in learning about the available choices of high-quality, stand-alone source code formatters for Java. The formatter must be …

java coding-style code-formatting