Cmd + A then Ctrl+I or 1. Select the block of code that you want indented. 2. Right-click (or, on Mac, Ctrl-click). 3. Structure > Re-indent