语言:c++
1、vs怎么把if语句块for语句块折叠。
vs2010:TOOLS->Options->Text Editor->C/C++/Formatting->Outlining->Outline Statement Blocks = True
vs2013:TOOLS->Options->Text Editor->C/C++/View->Outlining->Outline Statement Blocks = True
(中文版:【工具】->【选项】->【文本编辑器】->【C/C++】->【查看】->【大纲显示】->【大纲语句块】 = True)
参考:http://bbs.csdn.net/topics/390818356
原文:https://blog.csdn.net/dragoo1/article/details/50401650
2、vs 折叠跟展开所有方法。
Ctrl + M + O: 折叠所有方法
Ctrl + M + M: 折叠或者展开当前方法
Ctrl + M + L: 展开所有方法