开发者

Syntax aware selection in XCode?

开发者 https://www.devze.com 2022-12-21 17:12 出处:网络
Since moving to XCode I am desperately missing a text macro I have used in many other editors which I use all the time. Basically what it does is that everytime you invoke it, it selects text in an ex

Since moving to XCode I am desperately missing a text macro I have used in many other editors which I use all the time. Basically what it does is that everytime you invoke it, it selects text in an expanding scope. Here is IntelliJ's definition of the functionality:

Syntax aware selection

Ctrl+W (select word) in the editor selec开发者_StackOverflowts a word at the caret and then selects expanding areas of the source code. For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc.

Any way to duplicate this functionality in XCode?


Xcode preferences (Cmd+,) -> Key Bindings -> Text Key Bindings -> "Select Word"


Doesn't have it.

You can use AppCode instead. I bought it for that reason and many others.

0

精彩评论

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