Hi, autogenerate the comments was never mentioned. But the "code block" like that: /** * * @param i * @param str * @return int * @throws Exception when something unexpected happens * @author */ public int fooBarCom( int i, String str ) throws Exception
The block should be able to be customized by templates, each for every different type of javadoc (classes, methods, fields). The javadoc block should contains only the minimum of information to generate a correct javadoc without errors or warnings. Last but not least the whole stuff should be switched off within project properties. Thanks > -----Original Message----- > From: Thomas Singer [mailto:[EMAIL PROTECTED]] > Sent: Dienstag, 13. November 2001 17:56 > To: [EMAIL PROTECTED] > Subject: Re: [Eap-features] JavaDoc completion > > > But do not autogenerate the comments! > > I hate useless comments like the following, autogenerated > with Netbeans. > They do not offer any more info than the method name, but > clutters the code > and makes the file harder to read. > > /** > * Getter for property useHeadIfNotFound. > * @return Value of property useHeadIfNotFound. > */ > public boolean isUseHeadIfNotFound() > { > return useHeadIfNotFound; > } > > /** > * Setter for property useHeadIfNotFound. > * @param useHeadIfNotFound New value of property > useHeadIfNotFound. > */ > public void setUseHeadIfNotFound(boolean useHeadIfNotFound) > { > this.useHeadIfNotFound = useHeadIfNotFound; > } > > Best regards > Thomas Singer > > At 16:55 13.11.01 +0100, you wrote: > >Hi, > >please include a automatic javadoc completion for methods. It should > >generate a standard javadoc block (customized by templates) > which includes > >all the parameters, return types, exceptions etc. of the > method below. > > > >Thanks. > > > _______________________________________________ > Eap-features mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-features > _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
