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.
Try to Refactor|Rename setStatic function from this listing: function Player(url, name){ var static_int = 0; Player.prototype.setStatic = function(v){ static_int = v; }; } var p1 = new Player(); p1.setStatic(100); If you start on function declaration then the call is not renamed and vice versa Product Version: NetBeans IDE Dev (Build 201209110001) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb)
This is fixed by recent changes. Adding test for it.
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/22e54f4ada40 User: Petr Pisl <ppisl@netbeans.org> Log: #218136 - Rename Refactor for properties declared via Prototype not working
You're right, thanks Product Version: NetBeans IDE Dev (Build web-main-9509-on-20121212) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17 System: Linux version 3.2.0-34-generic-pae running on i386; UTF-8; en_US (nb)