当前位置: 代码迷 >> Eclipse >> A eclipse foding plugin - Coffee Bytes
  详细解决方案

A eclipse foding plugin - Coffee Bytes

热度:728   发布时间:2016-04-23 12:26:10.0
A eclipse foding plugin -- Coffee Bytes
  1. Install plugin
    1. Download the Coffee Bytes Folding plugin from the download section
    2. Unpack the downloaded file eclipse-folding-plugin.tar.gz
    3. Copy the contents of the:
      1. features folder => eclipse features folder
      2. plugins folder => eclipse plugins folder
  2. Configure plugin in Eclipse:
    1. Select "Windows->Preferences"
    2. Select "Java->Editor->Folding"
    3. Check the "Enable folding" option
    4. Select "Coffee Bytes Java Folding" in the "Select folding to use:" option
    5. Check "User Defined Regions" in the "General Fold Setting:" option

Download url:

http://code.google.com/p/academic-cloud/downloads/detail?name=eclipse-folding-plugin.tar.gz&can=2&q=

 

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


 

  相关解决方案