Visual Studio 2013 C++ outlining / collapsing if/else/while code regions

China☆狼群 提交于 2019-11-30 21:44:03

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!