14

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.

Community
  • 1
  • 1
yep me
  • 141
  • 1
  • 3

3 Answers3

29

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

Will Bradley
  • 1,733
  • 15
  • 27
2

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

Set Enable Outlining option to False

Disable for Current File

Main Menu → Edit → Outlining → Stop Outlining

Disable outlining for current file

Doug Richardson
  • 10,483
  • 6
  • 51
  • 77
1

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

SirDarius
  • 41,440
  • 8
  • 86
  • 100