Can any one tell me how to turn off automatic outlining in Visual Studio? Outlining is the feature that collapses code into programmer defined regions.
In my opinion,
In Visual Studio, go to Tools
> Options
> Text Editor
> C#
> Advanced
Clear the checkbox Enter outlining mode when files open
Tools -> Options -> Text Editor -> C# -> Advanced -> Outlining.
For VS2008, it's under Tools – Options – Text Editor – C/C++ - Formatting - Enter outlining mode when files open.
For VB it's Tools - Options - Text Editor - Basic - VB Specific - Enable outlining mode