1.文件注释
->File->Settings->Editor->File and Code Templates
/****************************************************
* 创建人:@author ${USER}
* 创建时间: ${DATE}/${TIME}
* 项目名称: ${PROJECT_NAME}
* 文件名称: ${NAME}.java
* 文件描述: @Description: ${TODO}
* 公司名称: xxx公司
* All rights Reserved, Designed By xxx公司
* @Copyright:2019-${YEAR}
*
********************************************************/
2.类注释
->File->Settings->Editor->File and Code Templates
/**
* 包名称:${PACKAGE_NAME}
* 类名称:${NAME}
* 类描述:${TODO}
* 创建人:@author ${USER}
* 创建时间:${DATE}/${TIME}
*
*/
3.方法注释
->File->Settings->Editor->Live Templates
Abbrevation *
应用范围是Java->comment
EditVariable 选择可以自动获取变量值的函数或脚本
*
* $enclosing_method$
* $todo$
* @param $params$
* @return $return_type$
* @throws
* @author
* @date $date$
*/