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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM