Insert javadoc comments ... [message #110637] |
Fri, 21 October 2005 11:09 |
Eclipse User |
|
|
|
Originally posted by: konrad.my-rho.de
Hi,
I want to insert javadoc comments half-automatic in my code ... by
selecting a function and let add the javadoc body for it automatic.
If I use Source->Add Comment Eclipse creates not realy javadoc:
/* (non-Javadoc)
* @see
org.eclipse.swt.widgets.Layout#computeSize(org.eclipse.swt.w idgets.Composite,
int, int, boolean)
*/
I want an automatic list of used parameters i.e. or a field @return ...
How can I customize these javadoc comments? And I read very often
"Source->Add Javadoc Comment" is the solution. But my Eclipse 3.1
doesn't have this menu entry :-(
Many Thanks
|
|
|
Re: Insert javadoc comments ... [message #110674 is a reply to message #110637] |
Fri, 21 October 2005 11:28 |
Eclipse User |
|
|
|
Originally posted by: hendrik_maryns.despammed.com
Konrad Mühler schreef:
> Hi,
>
> I want to insert javadoc comments half-automatic in my code ... by
> selecting a function and let add the javadoc body for it automatic.
>
> If I use Source->Add Comment Eclipse creates not realy javadoc:
>
> /* (non-Javadoc)
> * @see
> org.eclipse.swt.widgets.Layout#computeSize(org.eclipse.swt.w idgets.Composite,
> int, int, boolean)
> */
>
> I want an automatic list of used parameters i.e. or a field @return ...
>
> How can I customize these javadoc comments? And I read very often
> "Source->Add Javadoc Comment" is the solution. But my Eclipse 3.1
> doesn't have this menu entry :-(
I I type Ctrl-Alt-J, I get exactly what you want, and I didn't fiddle
with any options to get that, which means _you_ changed it in the
options somewhere.
H.
--
Hendrik Maryns
==================
www.lieverleven.be
http://aouw.org
|
|
|
Re: Insert javadoc comments ... [message #110686 is a reply to message #110674] |
Fri, 21 October 2005 12:00 |
Eclipse User |
|
|
|
Originally posted by: konrad.my-rho.de
> I I type Ctrl-Alt-J, I get exactly what you want, and I didn't fiddle
> with any options to get that, which means _you_ changed it in the
> options somewhere.
It's a blank new installation of eclipse ... so it seems to be the
standard option.
|
|
|
Re: Insert javadoc comments ... [message #110776 is a reply to message #110686] |
Fri, 21 October 2005 23:01 |
Eclipse User |
|
|
|
Originally posted by: eclipse3.rizzoweb.com
Konrad Mühler wrote:
>> I I type Ctrl-Alt-J, I get exactly what you want, and I didn't fiddle
>> with any options to get that, which means _you_ changed it in the
>> options somewhere.
>
>
> It's a blank new installation of eclipse ... so it seems to be the
> standard option.
It is Alt+Shift+J
If the cursor is on a line of a method, it inserts Javadoc for the
method. Otherwise it inserts Javadoc for the class.
By the way, this is all easily findable in the Keys preferences under
the Source category. Or hit Ctrl+Shift+L to see a "pop-up Keys help."
HTH,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.07933 seconds