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.
精彩评论