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.
Following construct is not recognized as "class" in Navigator (it has the circle icon) because it doesn't use "this" keyword. Would it make sense to identify classes by @class as well? /** * Create a new Hexagon instance. * @class Hexagon is a class that is a <i>logical</i> sublcass of * @return {Hexagon} description */ function Hexagon(sideLength) { } Product Version: NetBeans IDE Dev (Build EaselCSS-604-on-20120830) Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09 System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)
@constructor can be also used for this /** Creates a new Person. @constructor */ Person = function() { } var p = new Person();
It required changes on more places, but finally it looks to be working well. Thanks for reporting. web-main #d34f70b924dc
Integrated into 'main-golden', will be available in build *201209130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d34f70b924dc User: Martin Fousek <marfous@netbeans.org> Log: #217679 - Navigator could use jsdoc to recognize classes
thanks a lot, works nice Product Version = NetBeans IDE Dev (Build 201209130001) (#be39de5441ae) Operating System = Linux version 3.2.0-30-generic-pae running on i386 Java; VM; Vendor = 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01; Oracle Corporation