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 - [jQuery] Code completion and prototypes
Summary: [jQuery] Code completion and prototypes
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-06 10:50 UTC by Petr Pisl
Modified: 2016-04-06 10:57 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.