Skip to main content



      Home
Home » Newcomers » Newcomers » How to change automated Author entry??
How to change automated Author entry?? [message #16824] Tue, 25 January 2005 16:37 Go to next message
Eclipse UserFriend
Originally posted by: gfghh.hhh.com

When you make a new class eclipse automatically enters your name :

/**
* @author mike
*/

Where can I change the name it uses permanently??
Re: How to change automated Author entry?? [message #17076 is a reply to message #16824] Wed, 26 January 2005 03:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter.langhart.234.ch

bunallo wrote:
> When you make a new class eclipse automatically enters your name :
>
> /**
> * @author mike
> */
>
> Where can I change the name it uses permanently??
>
>

Take a look at "Preferences->Java->Code Style->Code Templates"
There you can make any changes.
Re: How to change automated Author entry?? [message #17221 is a reply to message #16824] Wed, 26 January 2005 09:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

bunallo wrote:

>When you make a new class eclipse automatically enters your name :
>
>/**
> * @author mike
> */
>
>Where can I change the name it uses permanently??
>
>
Start Eclipse with -vmargs -Duser.name="your name" otherVMargs

Dani

>
>
>
Re: How to change automated Author entry?? [message #19959 is a reply to message #17076] Sat, 29 January 2005 06:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gfghh.hhh.com

Under: Preferences->Java->Code Style->Code Templates->Types. Its possible to
define Author, but it is set to a variable "User" and its not possible to
just enter one name instead.




"Peter Langhart" <peter.langhart@234.ch> skrev i en meddelelse
news:ct7lqr$l7l$1@www.eclipse.org...
> bunallo wrote:
> > When you make a new class eclipse automatically enters your name :
> >
> > /**
> > * @author mike
> > */
> >
> > Where can I change the name it uses permanently??
> >
> >
>
> Take a look at "Preferences->Java->Code Style->Code Templates"
> There you can make any changes.
Re: How to change automated Author entry?? [message #26983 is a reply to message #19959] Tue, 08 February 2005 11:56 Go to previous message
Eclipse UserFriend
Originally posted by: peter.langhart.234.ch

For example. My Preferences->Java->Code Style->Code
Templates->Comments->Types seems like:


/**
* TODO add comment
* <br>
* @author peter.langhart@XXXX <br>
* Copyright (c) XXX AG 2004<br>
* XXXX, 8XXX XXXX, Schweiz<br>
* All rights reserved.<br>
* <br>
* @version 1.0 PL ${date} ${time} Initial Version <br>
*/

You can use text or variables. I don't understand what you exacltly
prefere. Use ${user} which has been set to mike or just use a text.



bunallo wrote:
> Under: Preferences->Java->Code Style->Code Templates->Types. Its possible to
> define Author, but it is set to a variable "User" and its not possible to
> just enter one name instead.
>
>
>
>
> "Peter Langhart" <peter.langhart@234.ch> skrev i en meddelelse
> news:ct7lqr$l7l$1@www.eclipse.org...
>
>>bunallo wrote:
>>
>>>When you make a new class eclipse automatically enters your name :
>>>
>>>/**
>>> * @author mike
>>> */
>>>
>>>Where can I change the name it uses permanently??
>>>
>>>
>>
>>Take a look at "Preferences->Java->Code Style->Code Templates"
>>There you can make any changes.
>
>
>
Previous Topic:How to specify multiple arguments??
Next Topic:cdt not being detected
Goto Forum:
  


Current Time: Sun Jun 01 00:02:44 EDT 2025

Powered by FUDForum. Page generated in 0.07612 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top