Eclipse折叠代码 coffee bytes code folding

 https://files.cnblogs.com/wucg/eclipse-folding-plugin.zip

http://stackoverflow.com/questions/6940199/how-to-use-coffee-bytes-code-folding

 

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.

Enable Coffee Bytes Java folding

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.

Configure the start and end regions

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.

Use start and end regions in code

posted @ 2012-06-06 18:00  庚武  Views(2950)  Comments(1Edit  收藏  举报