tags:

views:

21

answers:

2

Hi, everyone,

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.

A: 

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 [.

derkyjadex
+2  A: 

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

Håvard S