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.
If one overrides a method from a parent class in a child class and uses '@inheritdoc', the editor complains about "undocumented parameter" even if the parameter is documented for the parent method. MWE ** * @summary The grandparent class * @class */ function ClassParent() {}; /** * @public * @summary Dumm didel di dumm * @param {string} bar Documentation of `bar` */ ClassParent.prototype.foo = function( bar ) { // do something with bar }; ClassChild.prototype = Object.create( ClassParent.prototype ); ClassChild.prototype.constructor = ClassChild; /** * @summary The child class * @class * @implements {ClassParent} */ function ClassChild() {}; /** * @inheritdoc */ ClassChild.prototype.foo = function( bar ) { // The editor complains about `bar` not being documented. // One can work around the warning by additionally add // a `@param` directive, but actually this already exist // in the parent class. Actually, the editor should // ignore missing `@param` directives if it encounters a // `@inheritdoc` };
The @inheritdoc tag is not supported yet.