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.
Product Version = NetBeans IDE 7.1 Beta (Build 201109252201) Operating System = Mac OS X version 10.7.2 running on x86_64 Java; VM; Vendor = 1.6.0_26 Runtime = Java HotSpot(TM) 64-Bit Server VM 20.1-b02-383 Smarty 3 allows Javascript curly braces { } to be used without the need to tag them as {literal} according there is a space or a carriage return after/before the braces. See: http://www.smarty.net/docs/en/language.escaping.tpl However Netbeans parser gets this wrong and believes there is an error after the first JS opening curly brace it finds. This produce wierd results and make coding JS into Smarty templates almost impossible. The parser should only consider as Smarty elements those who have no space/CR after/before the braces.
It should be already implemented. Please give it a chance in any from latest builds: http://bits.netbeans.org/download/trunk/nightly/latest/ *** This bug has been marked as a duplicate of bug 194674 ***