When I type /** and press return to insert a Javadoc comment, Eclipse automatically writes for me
/**
*
* @author Bobby Brown
*
*/
because I am using the computer of my good friend Bobby Brown. Is there a setting for me to change so that it writes a different name in the author field?
On 21.02.2012 04:52, Matthew Brand wrote:
> When I type /** and press return to insert a Javadoc comment, Eclipse
> automatically writes for me
> /**
> * * @author Bobby Brown
> *
> */
> because I am using the computer of my good friend Bobby Brown. Is
> there a setting for me to change so that it writes a different name in
> the author field?
Start Eclipse with the following VM argument: -Duser.name=YourName
FOllow these steps should
create a user with your name.
login to your user and start writting code.
change computer name with your name.
It should fix your issue.
Russell Bateman Messages: 2707 Registered: July 2009 Location: Provo, Utah, USA
Senior Member
On 2012.02.21 2:28, Bimlesh Sharma wrote:
> FOllow these steps should create a user with your name.
> login to your user and start writting code.
> change computer name with your name.
> It should fix your issue.
Russell Bateman Messages: 2707 Registered: July 2009 Location: Provo, Utah, USA
Senior Member
On 2/20/2012 8:52 PM, Matthew Brand wrote:
> When I type /** and press return to insert a Javadoc comment, Eclipse
> automatically writes for me
> /**
> * * @author Bobby Brown
> *
> */
> because I am using the computer of my good friend Bobby Brown. Is there
> a setting for me to change so that it writes a different name in the
> author field?
>
> Thanks.
There's also an alternative method given at "Alternative" in the note at
this link. This method will achieve the same result, but it will also
contaminate the workspace on Bobby's computer (but only that workspace).