idea创建类 自动添加注释

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_33863843/article/details/83894465

(1)首先打开设置,点 ”Editor“ ,找到 “File and Code Templates”选项。

(2)或者直接在搜索框中输入“File and Code Templates”,打开“File and Code Templates”。

(3)在右侧的Files一栏中,找到Class,编辑注释。下面的Description介绍了可以使用的系统变量,按需索取。

(4)最后点击Apply和OK就完成啦。

如图:

注释代码:

/**
 * @Author     :xiaoyijia.
 * @Date       :Created in ${TIME} ${DATE}
 * @Description:${description}
 * @Modified By:xiaoyijia.
 * @Version:     $version$
 */

 终。

猜你喜欢

转载自blog.csdn.net/qq_33863843/article/details/83894465
今日推荐