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.
Sample code: function Person(){ this.test = { name : "A" }; } var a = new Person(); a.test.name = "B"; If you try to highlight/rename one of the "name" occurrences, the other is not highlighted/renamed Product Version: NetBeans IDE Dev (Build 201211160001) 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-b16 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Fixed in web-main. I had to rewrite a way how the occurrences are created and searched. No simple change. All tests passed. http://hg.netbeans.org/web-main/rev/2496cf86ee94
Integrated into 'main-golden', will be available in build *201211220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2496cf86ee94 User: Petr Pisl <ppisl@netbeans.org> Log: #222373 - Context of nested literal's property not resolved from its usage
Verified. I tried to test other cases and seems to be OK, thanks Product Version: NetBeans IDE Dev (Build web-main-9331-on-20121126) 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-b16 System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb) User directory: /home/vriha/.netbeans/dev Cache directory: /home/vriha/.cache/netbeans/dev