06.35 Collapse to Definitions with Outlining
DEFAULT | Ctrl+M, Ctrl+O |
VISUAL BASIC 6 | Ctrl+M, Ctrl+O |
VISUAL C# 2005 | Ctrl+M, Ctrl+O; Ctrl+M, O |
VISUAL C++ 2 | [no shortcut] |
VISUAL C++ 6 | Ctrl+M, Ctrl+O |
VISUAL STUDIO 6 | [no shortcut] |
WINDOWS | Alt, E, O, O |
MENU | Edit | Outlining | Collapse to Definitions |
COMMAND | Edit.CollapsetoDefinitions |
VERSIONS | 2005, 2008, 2010 |
CODE | vstipEdit0032 |
One of the features of outlining is the Collapse To Definitions option. This feature collapses the areas for all members. Let’s suppose you have the following code:
You can press Ctrl+M, Ctrl+O, or you can go to Edit | Outlining | Collapse To Definitions on your menu bar to see the following ...
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.