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.
Example: if the matching parenthesis are on different sides of the php function (in this example the json object '{' and '}' and the parenthesis of the $.post( ) call) will not be highlighted, but the inner function(data)'s curvy brackets will be highlighted correctly. If we remove the php code completely from this example all highlighting will work as expected. function pickThisAsMain(imageurl) { $.post(someUrl, {'action' : 'set_main', 'imageurl': imageurl, 'post_id' : '<?=phpFunction()?>'}, function(data){ }); } Product Version = NetBeans IDE 7.0 (Build 201104080000) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_22 Runtime = Java HotSpot(TM) Client VM 17.1-b03
I expect that the js code is in a php file. I'm right?
Yup, it is indeed.
Reproducible
Fixed for 7.3. Can you verify in 7.3. daily build?