Atitit.eclipse comment  template注释模板

来源:互联网 发布:同和软件 编辑:程序博客网 时间:2024/05/01 16:35

Atitit.eclipse comment  template注释模板

 

1.Code templet1

1.1.Settpath1

1.2.设置存储1

1.3.导出设置1

2.Java doc item  autotip templt2

2.1.Edit>>temp2

2.2.导出设置2

 

1. Code templet

1.1. Settpath

Java>code style> code templt>>comment

Types,method

/**

 *@author attilax

 *${date} ${time}

 * ${tags}

 */

 

1.2. 设置存储

D:\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.jdt.ui.prefs

 

作者::  ★(attilax)>>>   绰号:老哇的爪子  全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿尔 拉帕努伊  汉字名:艾龙,  EMAIL:1466519819@qq.com

转载请注明来源: http://blog.csdn.net/attilax

 

 

1.3. 导出设置

Codetemplates.xml

 

 

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">/**

 * @author attilax

 *${date} ${time}

 * ${tags}

 */</template>

2. Java doc item  autotip templt

2.1. Edit>>temp

Jeig  juayosh javadoc  htod  ..

@author  shma d....

 

2.2. 导出设置

 

Templates.xml

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="javadoc" deleted="false" description="author name" enabled="true" id="org.eclipse.jdt.ui.templates.author" name="@author">@author attilax  ${date}  ${time}</template></templates>

 

 

0 0