eclipse 注释模版

 

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="delegatecomment_context" deleted="false" description="Comment for delegate methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name="delegatecomment">

 /**

 * ${tags}

 * ${see_to_target}

 */</template><template autoinsert="true" context="overridecomment_context" deleted="false" description="Comment for overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name="overridecomment">

 /* (non-Javadoc)

 * ${see_to_overridden}

 */</template><template autoinsert="false" context="fieldcomment_context" deleted="false" description="Comment for fields" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name="fieldcomment">/**&#13;

 * @Title: ${file_name}&#13;

 * @Package ${package_name}&#13;

 * @Description: ${todo}&#13;

 * @author FWQ&#13;

 * @date ${date} ${time}&#13;

 * &#13;

 */</template><template autoinsert="false" context="typecomment_context" deleted="false" description="Comment for created types" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.typecomment" name="typecomment">/**&#13;

 * @author FWQ&#13;

 * @date ${date} ${time}&#13;

 * @Description: &#13;

 * &#13;

 */</template><template autoinsert="true" context="constructorcomment_context" deleted="false" description="Comment for created constructors" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name="constructorcomment">

 /**

 * ${tags}

 */</template><template autoinsert="false" context="gettercomment_context" deleted="false" description="Comment for getter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name="gettercomment">

 /**

 * @return 获得 ${bare_field_name}

 */</template><template autoinsert="false" context="filecomment_context" deleted="false" description="Comment for created Java files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.filecomment" name="filecomment">/**  &#13;

&#13;

* @Title: ${file_name} &#13;

&#13;

* @Package ${package_name} &#13;

&#13;

* @Description: ${todo}(用一句话描述该文件做什么) &#13;

&#13;

* @author A18ccms A18ccms_gmail_com  &#13;

&#13;

* @date ${date} ${time} &#13;

&#13;

* @version V1.0  &#13;

&#13;

*/ </template><template autoinsert="false" context="methodcomment_context" deleted="false" description="Comment for non-overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name="methodcomment">

 /**

 *  Function:

 * 

 *  @author Howard  DateTime ${date} ${time}

 *  ${tags}

 */</template><template autoinsert="false" context="settercomment_context" deleted="false" description="Comment for setter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.settercomment" name="settercomment">

 /**

 * @param ${param} 设置 ${bare_field_name}

 */</template></templates>

 

 

你可能感兴趣的:(eclipse)