3

How do I expand or collapse all the regions in a project using Visual Studio 2008?

Ricardo Altamirano
  • 14,650
  • 21
  • 72
  • 105
Euclid
  • 880
  • 10
  • 24

1 Answers1

9

Look in Edit → Outlining.

There's the following options:

  • Toggle Outlining Expansion - Ctrl+M, Ctrl+M

  • Toggle All Outlining - Ctrl+M, Ctrl+L

  • Stop Outlining - Ctrl+M, Ctrl+P

  • Collapse To Definitions - Ctrl+M, Ctrl+O

Toggle All Outlining seems to be the option you need.

ChrisF
  • 134,786
  • 31
  • 255
  • 325
  • 2
    I think Euclid wanted to do this for all files in a solution. There are other threads on this, e.g. here: http://stackoverflow.com/questions/6312255/how-to-configure-visual-studio-to-collapse-all-regions-by-default . – johanekdahl Feb 06 '12 at 14:12