开发者

Turning off automatic outlining in Visual Studio

开发者 https://www.devze.com 2022-12-10 20:57 出处:网络
Can 开发者_如何学Cany one tell me how to turn off automatic outlining in Visual Studio?Outlining is the feature that collapses code into programmer defined regions.

Can 开发者_如何学Cany 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.


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


For VS2008, it's under Tools – Options – Text Editor – C/C++ - Formatting - Enter outlining mode when files open.


For C/C++ in Visual 2017:

Go to Tools > Options > Text Editor > C/C++ > View

Then under > Outlining, set Enable Outlining to False.

0

精彩评论

暂无评论...
验证码 换一张
取 消