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 do you format code in Visual Studio Code (VSCode)

What is the equivalent of Ctrl + K + F and Ctrl + K + D on Windows in Visual Studio for formatting, or "…

code-formatting visual-studio-code
How do I format XML in Notepad++?

I have Notepad++ and I got some XML code which is very long. When I pasted it in Notepad++ there …

notepad++ code-formatting
What is the "-->" operator in C++?

After reading Hidden Features and Dark Corners of C++/STL on comp.lang.c++.moderated, I was completely surprised that …

c++ c operators code-formatting standards-compliance
Auto-indent in Notepad++

We always write code like this formal: void main(){ if(){ if() } But when I use Notepad++, the display is: void …

notepad++ indentation code-formatting
Code formatting shortcuts in Android Studio for Operation Systems

I have started developing with Android Studio. In Eclipse I was using Ctrl + Shift + F, but in Android Studio it …

android-studio code-formatting
Formatting code in Notepad++

Is there a keyboard shortcut to format code in Notepad++ ? I'm mainly working with HTML, CSS and Python code. For …

html notepad++ code-formatting
Tool to Unminify / Decompress JavaScript

Are there any command line scripts and/or online tools that can reverse the effects of minification similar to how …

javascript code-formatting minify compression unminify
How to auto-indent code in the Atom editor?

How do you auto-indent your code in the Atom editor? In other editors you can usually select some code and …

code-formatting atom-editor auto-indent
Ruby: Can I write multi-line string with no concatenation?

Is there a way to make this look a little better? conn.exec 'select attr1, attr2, attr3, attr4, attr5, attr6, …

ruby code-formatting