当前位置:操作系统 > 安卓/Android >>

Eclipse设置模板注释

 1.设置方法的模板注释 
具体设置方法如下:
windows -preferences- java- code style- code Templates - Comments- Methods -Edit 填入下面代码
 
 
/**
 * @author van van.shu@magic-point.com
 * @version 创建时间:${date} ${time}
 * ${tags}
 */
 

2.同理设置 设置类的模板注释
windows -preferences- java- code style- code Templates - Code- New Java files-Edit 填入下面代码
 
${filecomment}
${package_declaration}
/**
* @author van van.shu@magic-point.com
* @version 创建时间:${date} ${time}
* 类说明
*/
 
${typecomment}
${type_declaration}
 





摘自 sxchao2008
补充:移动开发 , Android ,
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,