折叠Visual Studio中的C++代码块
中文版:
[VS2013/2015]: 工具 -> 选项 -> 文本编辑器 -> C/C++ -> 查看 -> 大纲显示 -> 大纲语句块 = True
[VS2010/2012]: 工具 -> 选项 -> 文本编辑器 -> C/C++ -> 格式设置 -> 大纲显示 -> 大纲语句块 = True
[VS2008]: 工具 -> 选项 -> 文本编辑器 -> C/C++ -> 格式设置 -> 语句块的自动大纲显示
勾上即可
English:
[VS2013/2015]: Tools -> Options -> Text Editor -> C/C++ -> View -> Outline -> Outline Statement Blocks = True
[VS2010/2012]: Tools -> Options -> Text Editor -> C/C++ -> Formatting -> Outlining -> Outline Statement Blocks = True
[VS2008]: Tools -> Options -> Text Editor -> C/C++ -> Formatting -> Automatically outlining of statement blocks
Set it checked.