Eclipse 代码折叠 - Mac / Windows

来源:互联网 发布:mac os office 破解 编辑:程序博客网 时间:2024/06/04 22:36

代码折叠表示 及快捷键设置

在eclipse 中开启设置代码折叠功能
1. windows->perferences->General->Editors->Structured Text Editors
可以看到Enable folding选项,打上勾就可以使用代码折叠功能,但还要在具体的语言中设置。
2、windows->perferences->Java->Editors->Folding
可以看到Enable folding选项,打上勾就可以使用代码折叠功能。
完成以上两步就OK了。
其次
1 windows->perferences->general->key 设置代码折叠和展开的快捷键。
参考:eclipse代码折叠/展开之笔记本快捷键设置 - 李跃东的专栏
1代码折叠

这里写图片描述

2代码展开
这里写图片描述

0 0
原创粉丝点击