当前位置:网站首页>idea创建类时自动添加注释
idea创建类时自动添加注释
2022-06-28 05:55:00 【不会code的coder】
最近也是刚使用idea,主要是因为公司电脑太差劲,用idea太卡。我们创建一个新的Java时,可能要在上面记录下日期,时间,描述。这个时候,我们可以使用快捷键:ctrl+al+s。直接进入到setting里面,进入Editor,然后进入File and code templates,点击includes,点击+号,新建一个模板,然后起名为File Header。
最后添加内容:
/**
* @Author: linmeng
* @Description:
* @Date: Create in ${TIME} ${DATE}
*/注意{}里面的date和time都要大写,否则就不会显示文件创建时间。
边栏推荐
猜你喜欢
随机推荐
The windows environment redis uses AOF persistence and cannot generate an AOF file. After generation, the content of the AOF file cannot be loaded
bash install. SH ******** error
6. graduation design temperature and humidity monitoring system (esp8266 + DHT11 +oled real-time upload temperature and humidity data to the public network server and display the real-time temperature
[CAD drawing Video] AutoCAD 2014 master's way
Academic search related papers
数据中台:AI中台的实施与总结
Binder interview: memory management unit
Shanghai Yuge ASR CAT1 4G module 2-way low power 4G application
qtcanpool 知 07:Ribbon
Binder面试之:内存管理单元
numpy. reshape, numpy. Understanding of transfer
RL 实践(0)—— 及第平台辛丑年冬赛季【Rule-based policy】
RL practice (0) - and the platform xinchou winter season [rule based policy]
Jenkins继续集成2
Qtcanpool q05: no border
Oracle condition, circular statement
Enum
基于Kotlin+JetPack实现的MVVM框架的示例
File foundation - read / write, storage
[C language practice - printing hollow square and its deformation]









