Anything can be forgotten, my memory is not good, it is easier to forget. After changing the computer, @author in eclipse changed, then looked for a way to modify the @author:
1. Add in Eclipse.ini
-vmargs
-duser.name={author name}
Remember to be-vmargs, otherwise invalid.
2. Set Eclipse parameters
Windows-->preference
Java-->code Style-->code Templates
Code-->new Java Files
The original content is:
${filecomment}
${package_declaration}
${typecomment}
${type_declaration}
Add the custom content and add the following content:
${filecomment}
${package_declaration}
/**
* @author author E-mail:
* @version creation time: ${date} ${time}
* Class Description
*/
${typecomment}
${type_declaration}
3. Set Eclipse parameters
Windows-->preference
Java-->code Style-->code Templates
Comments-->files
Modify the configuration as needed, and ensure that ${filecomment} is in the configuration of the above item.
Changes to @author in eclipse