Reputation: 131
Does anyone know how to disable code folding in Visual C++ 2010?
In the 2008 version I used to disable it by unchecking 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.
Upvotes: 13
Views: 6427
Reputation: 10811
In VS2019, there is an option to permanently disable outlining for C/C++ files.
Main Menu → Tools → Options... → Text Editor → C/C++ → View → Enable Outlining → set to False
Main Menu → Edit → Outlining → Stop Outlining
Upvotes: 2
Reputation: 42889
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
Upvotes: 1