Answers:
检查一下 Preferences / Java / Code Style / Code Template
部分 Comment / Type
您可以将author标记替换为所需的任何值,它将对新生成的类产生影响。

但是,如果模板很好,但是所引用的购买author标签的值不正确,请参见此SO问题:
${user}使用user.name环境变量的值;因此,你可以通过-Duser.name=My Name在eclipse.ini覆盖它。
或者,如果您愿意,可以修改快捷方式以指向:
C:/java/eclipse/eclipse.exe -vmargs -Duser.name="cleverUserNameToUseInSourceCode"
ZendStudio.ini中找到Applications/Zend Studio.app/Contents/MacOS/。
Spring Tool Suite(用于Spring开发的流行Eclipse定制)使用STS.ini。在Windows上,我在与应用启动可执行文件相同的目录中找到它。
Preferences / Java / Code Style / Code Templates / Comments / Types
@author变量自定义,您可以通过编辑eclipse.ini文件添加来设置自定义字符串-Duser.name=customstring(在Kepler / Luna中测试)