Visual Studio 2013 C ++概述/折叠if / else / while代码区域

时间:2021-11-07 01:33:09

Apparently in VS13 they removed the outlining section in Option -> Text Editor -> C++ -> Formatting.

显然在VS13中,他们删除了选项 - >文本编辑器 - > C ++ - >格式化中的概述部分。

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.

有没有办法在VS2013 C ++中折叠if / while / etc语句?我知道C#插件并且已经知道了,但我正在寻找C ++环境的解决方案。

Cheers!

2 个解决方案

#1


28  

Answered by Hans Passant: "It is still there, Text Editor -> C++ -> View, Outline Statement Blocks"

Hans Passant回答:“它仍然存在,文本编辑器 - > C ++ - >视图,大纲语句块”

#2


10  

For Visual Studio 2013,

对于Visual Studio 2013,


Tools -> Options -> Text Editor -> C++ -> Formatting -> Outline Statement Blocks -> Enabled.

工具 - >选项 - >文本编辑器 - > C ++ - >格式化 - >大纲语句块 - >已启用。

#1


28  

Answered by Hans Passant: "It is still there, Text Editor -> C++ -> View, Outline Statement Blocks"

Hans Passant回答:“它仍然存在,文本编辑器 - > C ++ - >视图,大纲语句块”

#2


10  

For Visual Studio 2013,

对于Visual Studio 2013,


Tools -> Options -> Text Editor -> C++ -> Formatting -> Outline Statement Blocks -> Enabled.

工具 - >选项 - >文本编辑器 - > C ++ - >格式化 - >大纲语句块 - >已启用。