Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode Using TAB to tab multiple lines of code

enter image description hereIs it possible to select multiple lines of code in XCode and when I press TAB button all those selected lines indent?

I know CMD+[ will indenet and CMD+] will undent. But I want that same principle to happen to 'TAB andSHIFT+TAB`.

Right now, it just deletes the highlighted lines when TAB is used to the Structure Keybinding. I can't get my keybindings to work right. Anyone know what I might be doing wrong?

like image 764
user-44651 Avatar asked Mar 22 '13 19:03

user-44651


1 Answers

I was able to replace the shift right [ with a tab and the shift left ] with Shift-tab. Just double click on the present key binding and press TAB or Shift TAB. However I've seen that Xcode doesn't always apply the settings right away so it wouldn't hurt to restart it.

like image 114
Jack Wilson Avatar answered Oct 20 '22 04:10

Jack Wilson