Insert javadoc comments ... [message #110637] |
Fri, 21 October 2005 07: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 #112320 is a reply to message #110637] |
Wed, 26 October 2005 12:42  |
Eclipse User |
|
|
|
By default Alt+Shift+J inserts the non-javadoc comment you mention for
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
|
|
|
Powered by
FUDForum. Page generated in 0.08098 seconds