How to use Coffee-Bytes code folding

不羁岁月 提交于 2019-11-26 08:09:08

问题


How to use \"Coffee-Bytes code folding\"? I want to use user defined region but don\'t know how to use it. Can anyone guide me? And how to use it in java code?


回答1:


Firstly, you'll need to configure Coffee Bytes Java folding as the folding scheme to use, and then enable User Defined Regions, as shown below.

Secondly, you'll need to configure the start and end identifiers that will be used to identify the beginning and termination of regions in your code. In this case, I've chosen {{ and }} as it fits well with the Apache Isis templates that I use.

Finally, I use the same start and end identifiers in my code to demarcate regions and to trigger the Coffee Bytes folding plugin to recognize the same. After saving the preferences, your user-defined regions should immediately take effect (although you may need to close and re-open any open code files).



来源:https://stackoverflow.com/questions/6940199/how-to-use-coffee-bytes-code-folding

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!