Is there a way to setup visual studio 2008 to automatically collapse regions/functions/methods when the code behind is first opened?
Asked
Active
Viewed 75 times
0
-
i want see solution to visual studio 2010 too. – Svisstack Jul 09 '10 at 19:59
1 Answers
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