Indentation

Last modified: 24 February 2025

Indentation settings are configured for every programming language separately.

GoLand 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.