When I select multiple lines of code and want to indent them as usual with TAB, it just deletes them all. I come from Eclipse where I always did it that way. How's that done in Xcode? I hope not line by line ;)
+10
A:
The keyboard shortcuts are CMD-] for indent and CMD-[ for un-indent.
- In Xcode's preferences window, click the Key Bindings toolbar button. The Key Bindings section is where you customize keyboard shortcuts.
JWD
2009-05-06 14:47:51
Note that these are commonly used Mac OS X key bindings thus you can indent using CMD-] and CMD-[ in, for example, Mail.app.
Gregory Cosmo Haun
2010-06-15 23:57:49