1、点击菜单中file菜单
2、弹出了下拉菜单选择preference选项
3、点击document选项
4、勾选code folding选项
5、勾选code folding选项之后,对当前设置做保存了