In each version of Visual Studio until 2013, the code wrapped in #region and inactive code in the #if statements are automatically collapsed when the C # code file is opened for the first time, when "enter the selection mode when opening files".
I’m trying to figure out how to enable this in Visual Studio 2015 RC, but even turning on “entering selection mode when opening files” seems to have no effect. In any case, it seems that the file opens, and then VS activates the selection mode after a second, without checking whether something needs to crash.
c # visual-studio visual-studio-2015 region vs-2015-preview
Dizzy H. Muffin
source share