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.

Bug 258677

Summary: [jQuery] Code completion and prototypes
Product: javascript Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Petr Pisl 2016-04-06 10:50:42 UTC
This is a mail from nbwebclient@netbeans.org mailing list:

Netbeans does not display inherited prototype methods for code completions.
I am using JQuery to extend an objects definition
Simple object inheritance using JQuery

Detection.prototype = $.extend({}, AbstractDetection.prototype, AbstractBoundingBox.prototype);
Detection.prototype.constructor = Detection;

function Detection() {
    // Inheritance
    AbstractDetection.call(this);  
    AbstractBoundingBox.call(this);    
}

When I try to use code completion Netbeans does not display any of the methods from either abstract object.