MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
calsonli
Post subject: [Closed] Can a new methd be created with @param,@return etc?  PostPosted: Jul 16, 2007 - 02:46 AM
Registered Member
Registered Member


Joined: May 07, 2007
Posts: 26

Hi all,

I would like to know when creating a new method in EJB class, or normal Java class, is there any quick method to insert @param, @return for later Javadoc generation? Currently, I have to type @param, @return etc myself.

Thanks,
Calson
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject: RE: Can a new method be created with @param & @return et  PostPosted: Jul 16, 2007 - 04:50 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Calson,
You can adjust how these artifacts are generated under Window > Prefs > Java > Code Style > Code Templates

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
calsonli
Post subject:   PostPosted: Jul 18, 2007 - 02:12 AM
Registered Member
Registered Member


Joined: May 07, 2007
Posts: 26

Thank you Riyad, after doing this, it needs to right-click the mouse on the method and select "source->generate element comment"
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jul 18, 2007 - 03:51 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Very cool, glad it helped.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits