IntelliJ IDEA / MyEclipse automatically generate signatures

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/weixin_45381580/article/details/97292277

IntelliJ IDEA / MyEclipse automatically generate signatures

Signatures can make our code more specifications

IntelliJ IDEA

Steps:
Open the software, the top left corner File> Setting> Editor> File and Code Templates
and then modify
not the case Figure

Here Insert Picture Description

MyEclipse

window > preference >Java > Code Styple > Code TemplateHere Insert Picture Description

Here is my own signature, it can also directly copy it

/** 
 * @author lixiaolong
 * @data ${DATE} ${TIME}
 * 
*/

To change their names on the line
$ {DATE} refers to the current date
$ {TIME} refers to the time of day

Some also attribute can own Internet search

Guess you like

Origin blog.csdn.net/weixin_45381580/article/details/97292277