分享eclipse自动生成java注释方法

设置方法介绍:
eclipse中:Windows->Preferences->Java->Code Style->Code Template->Comments,然后对应的标签输入下面的内容,最后保存退出即可。
 
Types:
/** @author  作者名 E-mail: 作者邮箱
 * @date : ${date} ${time}
 * @Description :
 * @version 1.0
 * ${tags}
 */
 
 Fields:
 
/** @Description: ${field} : ${todo}
 */
 
 Constructors:
 
/**
 * @Description:${todo}
 */
 
 Method:
/** @Description:${todo}
 * @exception:
 */
 Overriding methods:
/** @Description:${todo}
 * @exception:
 */
posted @ 2016-02-22 12:23  庞超SuperPang  阅读(629)  评论(0编辑  收藏  举报