开发者

Xcode hot key for 'tab'

开发者 https://www.devze.com 2023-01-06 18:04 出处:网络
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 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 n开发者_高级运维eed to set something? Thank you.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号