This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
currently js editor generates this for return statement in comments: @return undefined but jsdoc documentation mentions this syntax: @returns {returnType} returnDescription here is the link: http://code.google.com/p/jsdoc-toolkit/wiki/TagReturns
That's right. Problem is that "returns" is ideal entry but in many sources, docs are "return" used. But you are right that the JsDoc valid entry should be generated. Thanks for entering that ...
Fixed in web-main #f6fa9a334f0f. Thanks again for reporting.
Integrated into 'main-golden', will be available in build *201209050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f6fa9a334f0f User: Martin Fousek <marfous@netbeans.org> Log: #217027 - jsdoc documentation mentions @returns but not @return