Reputation: 14925
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) ?
Upvotes: 2
Views: 530
Reputation: 16348
Select all of the text and press Option + ] to shift right or Option + [ to shift left.
Upvotes: 2
Reputation: 8722
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
Upvotes: 4