Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to instruct Visual Studio 2015 to expand all #region sections when it opens file

I'm working on code base with a lot of #region sections. As they are anti pattern and can hide bugs, I do like to see all regions expanded when I open any C# source file. It there any way to set it up in Visual Studio / ReSharper?

like image 838
Simon Achmüller Avatar asked Oct 23 '25 00:10

Simon Achmüller


1 Answers

Hurrah, I found solution, it was answered here: How to permanently disable region-folding in Visual Studio 2008:

Go to the Tools->Options menu. Go to Text Editor->C#->Advanced. Uncheck "Enter outlining mode when files open".

like image 190
Simon Achmüller Avatar answered Oct 27 '25 01:10

Simon Achmüller