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, there are precious few circumstances where outlining is useful. Yes, it makes large files easier to navigate, but mostly it obscures complexity. My preference would be to have this feature turned off by default when opening a source file.
CTRL + M + M will collapse/expand the current section.
In the Visual Studio code editor, once you write a method in a class, you have the ability to click the (-) sign next to the method to collapse the whole method to a single line.
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 VB it's Tools - Options - Text Editor - Basic - VB Specific - Enable outlining mode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With