NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

code completion and prototypes

 
Post new topic   Reply to topic    NetBeans Forums -> Web Client Users
View previous topic :: View next topic  
Author Message
marinijj



Joined: 29 Mar 2014
Posts: 20

PostPosted: Tue Apr 05, 2016 3:58 pm    Post subject: code completion and prototypes Reply with quote

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.

If I use WebStorm 2016 it displays the methods form either abstract object during code completion.

Is this a bug or is there something I need to setup to get this to work?
Back to top
ppisl



Joined: 15 Aug 2008
Posts: 48

PostPosted: Wed Apr 06, 2016 10:52 am    Post subject: code completion and prototypes Reply with quote

Hello,

this feature is not implemented yet. I have entered enhancement here:

https://netbeans.org/bugzilla/show_bug.cgi?id=258677

Feel free to add your comment there.

Thanks,
Petr

On 5.4.2016 17:58, marinijj wrote:
Quote:
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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Web Client Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo