Apparently in VS13 they removed the outlining section in Option -> Text Editor -> C++ -> Formatting.
Is there a way of collapsing if/while/etc statements in VS2013 C++? I know about the C# plugin and already got that, but I'm searching for a solution for a C++ enviroment.
Cheers!
Now for collapse all use the shortcut ctrl + M , ctrl + O .
(Ctrl+M, Ctrl+H) - Collapses a selected block of code that would not normally be available for outlining, for example an if block. To remove the custom region, use Stop Hiding Current (or Ctrl+M, Ctrl+U). Not available in Visual Basic.
Fold (Ctrl+Shift+[) folds the innermost uncollapsed region at the cursor. Unfold (Ctrl+Shift+]) unfolds the collapsed region at the cursor. Toggle Fold (Ctrl+K Ctrl+L) folds or unfolds the region at the cursor.
Answered by Hans Passant: "It is still there, Text Editor -> C++ -> View, Outline Statement Blocks"
For Visual Studio 2013,
Tools -> Options -> Text Editor -> C++ -> Formatting -> Outline Statement Blocks -> Enabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With