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 250367

Summary: Do not offer methods in parameter's completion
Product: javascript Reporter: Vladimir Riha <vriha>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2015-02-11 13:11:29 UTC
Please try following:


/**
 * 
 * @param {Number} b
 * @returns {undefined}
 */
Folkband.prototype.pokus = function(b){}
var e=  new Folkband();
e.pokus({|});



and invoke cc at "|". It offers not only properties but also methods which is (I think) not useful in this case. It is more visible with e.g. Date or some other type with a lot of methods.


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)