Tutorial :Xcode hot key for 'tab'



Question:

I want to ask a stupid question. Can Xcode like be the Visual studio, when I highlight the word and press the 'tab' key, the highlighted word will go to the right side and have a 'tab' space, but I am not able to do this in Xcode, do I need to set something? Thank you.


Solution:1

In Xcode, use Command-] to increase indent, and Command-[ to decrease indent.


Solution:2

The combination I think you are looking for is cmd+right. This will move which ever line you are one one tab in. Cmd+left will move it back one. Your caret can be anywhere on the line.

Edit: Obviously far too early in the morning for me. By right I meant ], and left [.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »