Indenting code blocks
As you write and edit code in Code view or the Code inspector, you can change the indentation level of a selected block or line of code, shifting it right or left by one tab.
To indent the selected block of code, do one of the following:
- Press Tab.
- Select Edit > Indent Code.
To unindent the selected block of code, do one of the following:
- Press Shift+Tab.
- Select Edit > Outdent Code.
Related topics
- Making quick changes to a code selection
- Setting the code format preference options