首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

A eclipse foding plugin - Coffee Bytes

2012-09-05 
A eclipse foding plugin -- Coffee BytesInstall pluginDownload the Coffee Bytes Folding plugin from

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


 

热点排行