How to Indent Multiple Line of Code on Mac using XCode with White Spaces, Lines & Tabs or How to Fix Code Tab Indention on Mac using XCode?

Problem is when you have flat multiple line of code & you want all of the code indent in one click of button without going through every word, line 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 code you want to Indent

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

OR

Right Click on Selection > Structure > Re-Indent

 

Method 02:

Select 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