Visual Studio: Expand or Collapse Region or Code section
Been using it for a while and started to love the function. One colleague of mine asked me how I did it. Thought it would be worth a post over here:
Using Shortcut keys
Ctrl-M, Ctrl-O will collapse all of the code to its definitions.
Ctrl-M, Ctrl-L will expand all of the code (actually, this one toggles it).
Ctrl-M, Ctrl-M will expand or collapse a single region
P/S: The menus for expanding and collapsing code can also be found under Edit->Outlining
Keywords:
- visual studio 2010 auto expand regions
- collapse region visual studio keys
- vs 2010 collapse all
- vs 2010 auto expand
- Visual Studio expand all
- visual studio 2010 collapse all code region
- uncollapsed definitions in visual studio
- how to auto fold all in visual studio 2010
- expanding comments in vs 2010
- vs2008
Written by admin on January 22nd, 2010 with no comments.
Read more articles on Knowledge Base and Personal and Programming.