Top "Indentation" questions

Indenting is used to organize code by indicating blocks, closures, conditionals, and other constructs.

Java: IndentingXMLStreamWriter alternative?

I am using StAX to create a quite large xml document. Until now I was using the IndentingXMLStreamwriter class to …

java xml indentation stax
Suppress indentation after environment in LaTeX

I'm trying to create a new environment in my LaTeX document where indentation in the next paragraph following the environment …

latex indentation latex-environment
Indenting all lines inside textarea

Is it possible to text indent each line in a textarea? I'm using a handwritten font and the first letter …

css textarea indentation lines text-indent
How do I indent a single line multiple times in vi or vim?

I've found several answers on how to indent multiple lines in vim, I want to know how to take a …

vim vi indentation text-indent
Vim automatically removes indentation on Python comments

I'm using Vim and editing Python scripts. Autoindent works pretty well in general, but when I start a new line …

python vim indentation
About Formatting Fonts in Dev C++

I don't know How to change font formatting in Dev C++, BTW This is my first time use of Dev-C++ . …

formatting indentation dev-c++
asp.net menu skiplink

The ASP.NET menu creates a skiplink which has 0x19 size and it is invisible in explorer, but it is …

asp.net menu indentation
How to disable auto changing tabs to spaces in the code in Intellij Idea?

How to disable auto changing tabs to spaces and removing empty lines, whitespaces in the sourcefiles after it opened? In …

intellij-idea whitespace indentation autoformatting
Comments (#) go to start of line in the insert mode in Vim

Whenever I want to add a comment to an indented line in vim, I hit Shift-o (open a new row …

python vim comments indentation
Algorithm for neatly indenting SQL statements (Python implementation would be nice)

I'd like to reformat some SQL statements that are a single string with newlines in to something that's much easier …

python sql coding-style indentation pretty-print