06.36 Cut, Copy, and Paste Collapsed Code with Outlining
VERSIONS | 2005, 2008, 2010 |
CODE | vstipEdit0035 |
When working with outlining, you can perform many timesaving operations. One of these is the ability to take a piece of code and work with it in a collapsed state.
When you collapse code using outlining (click the minus sign to the left of the signature), you get the result shown in the following illustration.
Now we can select all of that code in one compact unit:
Then simply cut or copy the code, and paste it where you want.
Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.