Ashish Agarwal
Ashish Agarwal

Reputation: 14925

XCode 4.5 - Indent code to the left

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

Answers (2)

Rowan Freeman
Rowan Freeman

Reputation: 16348

Select all of the text and press Option + ] to shift right or Option + [ to shift left.

Upvotes: 2

ericg
ericg

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

Related Questions