代码块折叠:
鼠标右键点击行号——>(菜单)Folding——>Enable Folding.
Window -> Preferences -> Folding
Folding可折叠的
Enable folding when opening a new editor 打开新编辑器时启用折叠
Select folding to use : Default C Folding 选择要使用的折叠:默认的C折叠
Enable folding of preprocessor branches (#if/#endif) 启用折叠预处理器分支(#if/#endif)
Enable folding of control flow statements (if/else,do/while,for,switch) 启用控制流语句的折叠
Initally fold these region types: 基本折叠这些区域类型:
Macros 宏命令
Function 函数
Methods 方法
Structures 结构
Comments 注释
Documentation tool comments 文档工具注释
Non-Documentation tool comments 非文档工具注释
Header comments Header comments
Inactive preprocessor Branches 非活动预处理器分支