January 22nd, 2010

You are currently browsing the articles from Information City written on January 22nd, 2010.

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

Written by admin on January 22nd, 2010 with no comments.
Read more articles on Knowledge Base and Personal and Programming.