Automatic Indentation

For each supported language, the Code Editor adjusts the indentation of a new line according to the presence of control statements or scope block tokens in the lines leading up to the cursor position.

For more information on customizing automatic indentation for a language, see the Configuration Guide.