Idea设置类注释模板

1.选择File–>Settings–>Editor–>File and Code Templates–>Includes–>File Header.

在Description中有详细的变量讲解。

本人设置如下:

/**
 * @Author: ${USER} 
 * @Date:  ${DATE} ${TIME} 
 */

方法注释模板详情见:

超详细设置Idea类注释模板和方法注释模板

猜你喜欢

转载自www.cnblogs.com/expiator/p/10057543.html