问题
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!
回答1:
Answered by Hans Passant: "It is still there, Text Editor -> C++ -> View, Outline Statement Blocks"
回答2:
For Visual Studio 2013,
Tools -> Options -> Text Editor -> C++ -> Formatting -> Outline Statement Blocks -> Enabled.
来源:https://stackoverflow.com/questions/20820358/visual-studio-2013-c-outlining-collapsing-if-else-while-code-regions