读书人

A eclipse foding plugin - Coffee By

发布时间: 2012-09-05 15:19:35 作者: rapoo

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.

A eclipse foding plugin - Coffee Bytes

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.

A eclipse foding plugin - Coffee Bytes

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.

A eclipse foding plugin - Coffee Bytes


读书人网 >Eclipse开发

热点推荐