设置:Windows-》preference-》java-》code style-》code template-》comments
*********************************************
类/接口的注释
选择Windows-》preference-》java-》code style-》code template-》comments-》types
/**
* @Description: ${todo}
* @version 1.0.2
* @author nunu2301
* @date ${date}${time}
*/
*********************************************
*********************************************
方法(成员函数)的标准/重写 注释
Windows-》preference-》java-》code style-》code template-》comments-》Methods和Overrinding methods
/**
* @Description: ${todo}
* ${tags}
* @return ${return_type}
* @throws
* @author nunu2301
* @date ${date}${time}
*===========================================
* 修改人:, 修改时间:, 修改版本:
* 修改备注:
*===========================================
*/
*********************************************
*********************************************
属性的注释
Windows-》preference-》java-》code style-》code template-》comments-》Fields
/*
* @Fields ${field} : ${todo}
*/
*********************************************
类/接口的注释
选择Windows-》preference-》java-》code style-》code template-》comments-》types
/**
* @Description: ${todo}
* @version 1.0.2
* @author nunu2301
* @date ${date}${time}
*/
*********************************************
*********************************************
方法(成员函数)的标准/重写 注释
Windows-》preference-》java-》code style-》code template-》comments-》Methods和Overrinding methods
/**
* @Description: ${todo}
* ${tags}
* @return ${return_type}
* @throws
* @author nunu2301
* @date ${date}${time}
*===========================================
* 修改人:, 修改时间:, 修改版本:
* 修改备注:
*===========================================
*/
*********************************************
*********************************************
属性的注释
Windows-》preference-》java-》code style-》code template-》comments-》Fields
/*
* @Fields ${field} : ${todo}
*/
*********************************************
设置好后可以通过使用:alt+shift+j快捷键快速给方法和类进行注释。