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.
Please try this in JS file: var job = {a: 1}; function JobParser(job, results) { this.parse = function() { return job; // this is purple, should be black }; } window.console.log(new JobParser({d: 1}).parse()); => job in return statement is purple, should be black => if you select either job in first line or in return statement, the other one is marked as occurrence (the same for rename refactor) => if you select job in JobParser(job,...), then also job in return statement is highlighted Product Version: NetBeans IDE Dev (Build 201310310001) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Fixed in web-main
Integrated into 'main-silver', will be available in build *201506121907* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/468ffdbae4eb User: Petr Pisl <ppisl@netbeans.org> Log: #237914 - Override variable not fully recognized as local