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选项,打上勾就可以使用代码折叠功能。

 
posted @ 2016-09-20 13:30  F领主  阅读(2499)  评论(0)    收藏  举报