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.
Snippet 1: var z = { first: "10", second: "text", first: 1 }; The second "first" is in black but should be green as well. Snippet 2: var z = { first: "10", second: "text", ahoj: function(){ this.first =1; }, ahoj:1 }; First ahoj is in green, while it should be in bold black, the second "ahoj" is again in black and should be green Product Version: NetBeans IDE Dev (Build EaselCSS-520-on-20120821) Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09 System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)
This is a bug, because you define one property twice. So you have to rename it anyway. There can be done improvement, that the right coloring will be displayed for the last one, which is used in the runtime and the first one will be black.
I'm closing this issue as wontfix now.