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]]>2005-10-21T11:09:43-00:00Re: Insert javadoc comments ...
https://www.eclipse.org/forums/index.php/mv/msg/34107/110674/#msg_110674
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.
> 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.]]>2005-10-21T12:00:43-00:00Re: Insert javadoc comments ...
https://www.eclipse.org/forums/index.php/mv/msg/34107/110776/#msg_110776
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]]>2005-10-21T23:01:49-00:00Re: Insert javadoc comments ...
https://www.eclipse.org/forums/index.php/mv/msg/34107/112320/#msg_112320
inherited methods. If you want that differently, you can modify the
template for inherited methods on the 'Java > Code Style > Code
Templates' preference page.
HTH, tom
Konrad Mühler wrote:
> 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]]>Tom Hofmann2005-10-26T16:42:49-00:00