These days you will generate Javadoc for the project's source code, and the author name in the Eclipse auto-generated comments defaults to the current system's username, for example my system username is user
/**
* @author User
*
*/
I always have to change my own name, this is much cumbersome ah! Now calculate to have free, Baidu look, someone on the net said to create a new code Template, currently only see this on-line provides method!
Later, I decided to explore the Eclipse Configuration page, and finally found the code Template instead of creating a new code template!
1. First look at the default values for the Eclipse-related configuration interface:
Everyone should remember which page, which item Ah!
2. See the default is @author $ (user), now to modify it, however, can not directly in the text displayed below the area modified! You need to click "Edit" above, which will pop up the dialog box and modify the contents:
OK, then go back to the original see the content has been modified, then remember to click on the first picture of the lower right corner apply, and finally click OK, finished!
SOURCE http://icansoft.blog.51cto.com/268543/55871