Roy Osherove

View Original

A cool Selection Expansion macro

David Scott decided he would really really like a feature that CodeRush has - Selection Expansion, where if you press a shortcut, the selection of text in the IDE expands into the next bigger logical block (”Single line->Encapsulating if()block->whole method-> Whole class-> and so on...).
So he wrote a macro that does it and made it available for download. Very cool.
I wish he had a macro that does the opposite too though :)