03 September, 2014

Eclipse: Development tips including code template, formatter, keys, and content assistent.

Code Template:

Here I will focus on comments template:
Here is the sample for class comments:


Normally we only need to add comments for class and method:
Types:

/**
 * FileName: ${file_name}
 * Description: 
 * Author: [your name]
 * Created Date: ${date} ${time}
 *
 *    
 * Copyright (C)  Your company 2014
 * All Rights Reserved
 */

Method:
/**
 * Author: your name
 * Created date: ${date} ${time}
 * ${tags}
 */

Note: please make sure your eclipse is using En-us language.
Go to eclipse.ini,
Add one line:
-Duser.language=en_US

Formatter:



Content assistent:


add .abcdefghijklmnopqrstuvwxyz to auto activation triggers for java,
and prompt for xml.

3 comments:

  1. The numbers of apps in the market increases, as developers create new ones every now and then. gerald winata gozali

    ReplyDelete
  2. Filepedia is the hub to get the best applications on any of your device. We are offering the best software free downloads, reviews, news, and articles. https://filepedia.net/

    ReplyDelete