IntelliJ IDEA
 
Get IntelliJ IDEA

Indentation

Last modified: 23 October 2024

Indentation settings are configured for every programming language separately.

IntelliJ IDEA displays the indentation information in the status bar. So, if your project has files of different types, the easiest way of learning the current indentation style and accessing the corresponding settings is to use the Indentation widget.

Indentation widget

Since indentation is configured separately for each programming language, the number of indentations displayed may vary between opened items. To view the indentation in the status bar, open a file containing the relevant code in the editor.