How to Change the Default Author in Windows Eclipse?

Some time we need to change the author name of the files we create by eclipse rather than the system user name.

to do so:

1- edit eclipse.ini file in the eclipse directory.

2- add the following line after -vmargs line

-Duser.name=your name

Or  we can also change it from here(recommend):
Window -> Preferences -> Java -> Code Style -> Code Templates -> Comments
Edit the Comment: Files and change $(user) to our desired author_name.


原文地址:https://www.cnblogs.com/kunnet/p/2309714.html