I am using XCode 4.5 and I need to indent about 50 lines of code to the left by 1-tab. How can I do this (without doing it line by line) ?
Asked
Active
Viewed 451 times
2 Answers
4
Use Cmd-[. That will indent the selected lines by one tab to the left. You can find the menu commend in Editor->Structure->Shift Left

ericg
- 8,413
- 9
- 43
- 77
-
I need to indent in the opposite direction – Ashish Agarwal Feb 26 '13 at 00:36
2
Select all of the text and press Option + ] to shift right or Option + [ to shift left.

Rowan Freeman
- 15,724
- 11
- 69
- 100