问题描述
我正在使用Eclipse Luna for Java。默认情况下,Eclipse只允许我折叠注释,标题注释,内部类型,成员和导入。是否有一个插件允许我将 strong>, while 和如果阻止?
我搜索了市场和各种来源,并没有发现任何信息。
编辑:在下推之前,请考虑在发布之前我已经彻底研究了。网站上的其他类似问题不能解决这个问题,或者完全过时,资源不再可用。另外,我不是在寻找一个#beginregion #endregion解决方法(代码已经写完了,这不是一个很好的解决方案)。
尝试使用咖啡字节插件。
存档和安装说明可以在。
支持折叠括号括住的所有块,例如{} 。
I'm using Eclipse Luna for Java. By default, Eclipse only lets me fold Comments, Header Comments, Inner Types, Members and Imports.
Is there a plugin that allows me to fold for, while and if blocks?
I searched the marketplace and various sources and found nothing for this.
Edit: Before downvoting, consider I have thoroughly researched this before posting. Other similar questions on the site don't solve this problem or are completely outdated and resources no longer available. Also, I'm not looking for a #beginregion #endregion workaround (the code is already written and that's not really a good solution).
Try using the Coffee Bytes plugin.
the archive and installation instructions can be found at this blogspot.
Alternately, IntelliJ supports folding all blocks surrounded by brackets e.g.{}.
这篇关于如何在Java Eclipse中折叠,while和if块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!