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.
Created attachment 151949 [details] IDE log Please try following in JS file: ==== file.js ===== var rockband = { frontman : "Joe", "guitar" : "Jim", "solo": "Jack", "guitar#2" : "Jim2", albums : { "album1" : {released : new Date(), ready: 1}, "album2" : {released : new Date(), ready: 1} } }; function Folkband(){ this.name = ""; this.popularity =1; this.play = function(){} } Folkband.prototype.worth = 100; /** * * @param {rockband} o * @param {Folkband} b * @returns {undefined} */ Folkband.prototype.pokus = function(o,b){} var e= new Folkband(); e.pokus({}, {}); ==== file.js end ===== Now if you invoke cc in position of "|" in e.pokus({|}, {}); it will offer properties of both, rockband and Folkband and the code completion in the 2nd parameter is not offering anything. Thank you Product Version: NetBeans IDE Dev (Build web-main-1920-on-20150211) Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)