Top "Auto-indent" questions

Auto-indentation is used in programming tools (IDEs and source code beautifiers) to automatically adjust the amount of leading white space on a line.

How To Auto-Format / Indent XML/HTML in Notepad++

Is there a way to re-indent a block of code? I'm looking for something similar to Ctrl+Shift+F in …

html xml notepad++ auto-indent autoformatting
Tab key == 4 spaces and auto-indent after curly braces in Vim

How do I make vi-Vim never use tabs (converting spaces to tabs, bad!), makes the tab key == 4 spaces, and automatically …

vim whitespace indentation vi auto-indent
Turning off auto indent when pasting text into vim

I am making the effort to learn Vim. When I paste code into my document from the clipboard, I get …

vim configuration editor indentation auto-indent
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
Sublime Text 3, convert spaces to tabs

I know there are a lot of posts about this, but I couldn´t get it to work. I use …

tabs sublimetext sublimetext3 spaces auto-indent
How to fix/convert space indentation in Sublime Text?

Example: If I have a document with 2 space indentation, and I want it to have 4 space indentation, how do I …

sublimetext2 indentation auto-indent
Difference between Ctrl+Shift+F and Ctrl+I in Eclipse

I have been used Ctrl+Shift+F to correct indentation but I heard there is another shortcut to do that: …

eclipse auto-indent
Brackets.io: Is there a way to auto indent / format <html>

I am new to Brackets.io and thought I saw a shortcut key to auto indent/format HTML, however I …

format adobe-brackets auto-indent
How to get gedit to auto-indent code

I'm trying to get gedit to auto-indent my code. The auto-indent check-box in preferences doesn't work. Is there a way …

gedit auto-indent
Indent/format code in Visual Studio code on MAC

i'm trying to indent my code in visual studio code. I searched and i found that ctrl + F + K should …

macos indentation auto-indent visual-studio-code