Smarty: Tags Matching and Unpaired Tags Errors

Posted by Martin Fousek on Oracle Blogs See other posts from Oracle Blogs or by Martin Fousek
Published on Tue, 18 Sep 2012 14:08:42 +0000 Indexed on 2012/09/18 15:46 UTC
Read the original article Hit count: 257

Filed under:

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.

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).

© Oracle Blogs or respective owner

Related posts about /Features