开发者

How to disable code folding in Visual C++ 2010

Does anyone know how to disable code folding in Visual C++ 2010?

In the 2008 version I used to disable it by unchecking开发者_StackOverflow a certain check box, but this seems to be removed.

I tried to get these How to permanently disable region-folding in Visual Studio 2008 solutions done, but I can't really get rid of the code folding, in particular the tree node graphics on the left and the text region colors that don't fit my dark color scheme.


Go to Edit → Outlining → Stop Outlining in the Menu Bar.


Visual Studio 2019 Update

In VS2019, there is an option to permanently disable outlining for C/C++ files.

Disable for Every File You Open

Main Menu → Tools → Options... → Text Editor → C/C++ → View → Enable Outlining → set to False

How to disable code folding in Visual C++ 2010

Disable for Current File

Main Menu → Edit → Outlining → Stop Outlining

How to disable code folding in Visual C++ 2010


Google search for folding don't give much results, since Microsoft calls this feature "code outlining".

This link contains a simple solution to disable outlining: http://blogs.msdn.com/b/zainnab/archive/2010/03/19/turn-off-or-on-outlining-vstipedit0033.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜