X

An Oracle blog about NetBeans for PHP

Smarty: Tags Matching and Unpaired Tags Errors

Hello, today we would like to show you other improvements we have
prepared in PHP Smarty Framework. Let's talk about highlighting of matching tags and error reporting of unpaired ones which will be available in NetBeans 7.3.

Tags Matching

Some of your enhancements talked  about paired tags matching to be able to see matching tags at first glance.We have good news for you that this feature you can try out already in our latest PHP Development builds and of course later in NetBeans 7.3.

Tags Matching in Smarty

Unpaired Tags Errors

To make easier detecting of template syntax issues, we provide basic tags pairing. If you forgot to begin some paired Smarty tag or you end it unexpectedly you should get error hint which complains about your issue.

Tags Pairing in Smarty

That's all for today. As always, please test it and report all the issues or enhancements you find in NetBeans BugZilla (component php, subcomponent Smarty).

Join the discussion

Comments ( 4 )
  • constantine Tuesday, September 18, 2012

    great news! finally, this got implemented.


  • guest Tuesday, September 18, 2012

    And what about twig? Does it shares some kind of common codebase?


  • guest Tuesday, September 18, 2012

    It's not easily possible since every framework comes with its custom lexer and parser. But feel free to raise new enhancements against our components and believe that we will try to do our best. :)


  • Christian Wednesday, September 26, 2012

    Yes, Twig support would be nice :-)


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha