Top "Indentation" questions

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

Can git automatically switch between spaces and tabs?

I use tabs for indentation in my python programs, but I would like to collaborate (using git) with people who …

git tabs indentation
How to fix the YAML syntax error: did not find expected '-' indicator while parsing a block?

I have some code written in my .travis.yml written for a Python library. Using lint.travis-ci.org, I came …

syntax-error yaml indentation travis-ci
Notepad++ indentation messes up

I'm coding in Python and I really like Notepad++. However, off late when I use tab to indent, it seems …

python notepad++ indentation
How to use only tab (not space) in vim

I prefer to use tab than white space(may be a little different from most of others) But I found, …

vim indentation
LaTeX: indent from second line

I want to indent from the second line. I want to write in LaTeX something like this: Lorem ipsum dolor …

latex indentation
How to create multiple levels of indentation in Javadoc?

Suppose, that as part of documenting your code (Javadoc) you want to indicate that the relationships between elements using deep …

documentation javadoc indentation nested-lists
How to replace tabs with spaces in Atom?

As I started working with Atom text editor, I used tab-indentation but want to change to 4-space-indentation. I have several …

replace indentation atom-editor
Adding spaces in multiple lines simultaneously - in Pycharm

I have a very simple question which I can not resolve. I am new to Pycharm and Python and I …

formatting indentation pycharm spaces
How can I wrap text to some length in Vim?

Let's speak of relative measures. My Vim looks like: aaaaaaaaaaaaa bbbbbbbbbbbbb ccccccccccccc etc I would like it to be smaller: …

vim indentation
How to replace all tab characters in a file by sequences of white-spaces in intellij?

Given a file in my project, I want to be able to replace all of the tab characters in the …

intellij-idea indentation code-formatting