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.

Visual Studio 2005 : Is there an easy way to indent correctly in an ASPX file?

In Visual Studio 2005, is there a way to indent correctly the tags in the aspx file (not in .cs files …

asp.net visual-studio visual-studio-2005 indentation auto-indent
How to Autoindent Ruby source code in Vim

suppose I have set cindent in .vimrc def func() followed by Enter, and then type end, it is indented(not …

ruby vim auto-indent
Javascript indentation in VIM

I'm trying to get VIM to indent Javascript with the '=' and related commands. When I try to auto …

javascript vim indentation auto-indent
Disable auto indent globally in Emacs

How to disable auto indent in Emacs globally or only for some modes? I have a number of packages installed …

emacs indentation auto-indent
How to auto indent a C++ class with 4 spaces using clang-format?

I got the next .clang-format file in my project's root directory: --- AlignTrailingComments: true AllowShortFunctionsOnASingleLine: false AllowShortIfStatementsOnASingleLine: true AllowShortLoopsOnASingleLine: true …

c++ indentation auto-indent clang-format
Can VIM autoindent SQL?

"SQL Statement indentation good practice" appears to be the accepted format for writing SQL blocks. Is there a Vim indent/…

sql vim indentation auto-indent
How do you enable file specific tab indent settings in VIM?

I believe there is a method to write a comment in a file that vim will use to override default …

vim configuration indentation auto-indent
Indentation of code in Toad

Is there any software or a shortcut key which I can use to auto-indent code in Toad for Oracle 11.6?

oracle toad auto-indent
notepad++ and nppautoindent

I have installed the nppautoindent plugin into the notepad++ editor. I see no autoindenting effect. I am using PHP. Can …

notepad++ indentation auto-indent
What setting in vim counteracts smartindent's refusal to indent # comments in shell scripts?

I recently started using vim 7 (previously vim 6) and the smartindent setting. For the most part, it works well, though I'm …

shell vim auto-indent