Indent Multiple Lines of Code on Mac using Xcode. Fix Code Tab Indention on Mac using XCode?

The problem is when you have flat multiple lines of code & you want all of the code indent in one click of a button without going through every word or line by pressing the button β€˜Tab’.

So I put down few notes containing tutorial to how to indent multiple line of code within one click or one second, Here is how.

Method 01:
Select the code you want to Indent

Navigate to ‘Editor’ Menu > Structure > Re-Indent

OR

Right Click on Selection > Structure > Re-Indent

Method 02:
Select the code you want to Indent

Press

⌘ + [

to Indent Line of Code

Press

⌘ + ]

to Un-Indent or to Remove Indention from Line of Code

Hope it helps,

Thanks & Regards
Mandar Apte

Published by Mandar Apte

Mandar is a Mumbai-based multi-disciplinary designer with UX/UI, Logo, Symbol, and Brand Identity design expertise. He currently runs his Mudrkashar Linguistic Apple iPhone, iPad, and Mac app business in the heart of Mumbai city.

Leave a comment

Leave a Reply