fortinmike / XcodeBoost

An Xcode plugin that aims to make altering and inspecting code quick and easy.
MIT License
817 stars 86 forks source link

Expand Selection #2

Open fortinmike opened 10 years ago

fortinmike commented 10 years ago

What I have in mind is something close to what ReSharper does: expand the selection outward based on scope. For example: (where "^" is the caret)

if (something)
{
    [object1 doSomething:[object2 doSome^thingElse:object3]];
}

Using Expand Selection three times with this selection would result in the inner message send to be selected, then the outer message send, then the whole if statement, etc. until the whole method is selected.