在idea中设置创建类、接口等时自动生成作者名和日期的注释

it2025-04-21  2

在idea中设置创建类、接口等时自动生成作者和日期

1.效果图

2.详细设置如下

找到 File->Settings->Editor->File and Code Templates->Files,然后设置如下即可

/** * @Author: 作者名 * @Date: ${DATE} */

图示:

最新回复(0)