Common Code Style Options: Tabs and Indents
for macOS
Ctrl+Alt+S
Tabs and Indents
Item | Description |
---|---|
Use tab character |
|
Smart tabs |
The Smart Tabs checkbox is available if the Use Tab Character checkbox is selected. |
Tab size | In this field, specify the number of spaces included in a tab. |
Indent | In this field, specify the number of spaces (or tabs if the Use Tab Character checkbox is selected) to be inserted for each indent level. |
Continuation indent | In this field, specify the number of spaces (or tabs if the Use Tab Character checkbox is selected) to be inserted between the elements of an array, in expressions, method declarations and method calls. |
Keep indents on empty lines | If this checkbox is selected, then PhpStorm will keep indents on the empty lines as if they contained some code. |