eclipse中,把java函数代码折叠/展开 介绍【转】

2016/09/21

eclipse选中某个字段无法高亮其他字段解决办法:

window >> preference >> java >> Editor >> Mark Occurrences

勾选Mark occurrences of the selected element in the current file.

--------------------------------------------------------------------------------------

首先在eclipse 中开启设置代码折叠功能

1. windows->perferences->General->Editors->Structured Text Editors

可以看到Enable folding选项,打上勾就可以使用代码折叠功能,但还要在具体的语言中设置。
2、windows->perferences->Java->Editors->Folding

可以看到Enable folding选项,打上勾就可以使用代码折叠功能。

 
原文地址:https://www.cnblogs.com/flord/p/5888470.html