0

Is there a way to setup visual studio 2008 to automatically collapse regions/functions/methods when the code behind is first opened?

dan1st
  • 12,568
  • 8
  • 34
  • 67
Yogurt The Wise
  • 4,379
  • 4
  • 34
  • 42

1 Answers1

1

In Visual Studio 2010 this seems to auto collapse regions but not methods, classes, etc:

Tools -> Options -> Text Editor -> C# -> Advanced -> Check "Enter Outlining mode when files open".

I use the short-cut Ctrl + M, L to toggle collapsed regions.

rtalbot
  • 1,615
  • 10
  • 13