An Oracle blog about NetBeans for PHP

Support for Smarty in standard distribution

Hi all, I would like to announce good message for developers who are using Smarty as a template engine for PHP. Smarty support for NetBeans IDE was introduced more than year ago when it became available through Plugin Portal UC and since NetBeans IDE 7.1 it will be part of standard distribution.

In addition I'm attaching list of last features which weren't introduced in our Smarty blogposts yet.

List of last improvements:

  • Performance improvements in project opening
  • Basic code completion for Smarty tags and its attributes
  • Multiview with local history tab like in other standard editors of NetBeans IDE 7.1
  • Adjustable scanning depth for Smarty templates in PHP projects
  • Experimental support for templates formatting

All Smarty issues please report newly to PHP -> Smarty category. Thanks.

Smarty editor

Join the discussion

Comments ( 8 )
  • Thomas Monday, September 19, 2011

    That's great news. I was a little bit concerned about it's development as a community plugin as it seemed to be abandoned.

    I've worked with the Smarty development team on bringing improvements to the Smarty 3.1 code basis to ease the work with Smarty PHP classes in Netbeans for developers. So together with the stable release of Smarty 3.1 yesterday, native support for Smarty templates in Netbeans 7.1 is the best news of the day. Thanks! You have done a great job.

    Definitely going to test this release.

  • Tomasz Sh4dow Budzyński Monday, September 19, 2011

    It's great that smarty support is much better, but i've got a question about Netbeans 7.1

    Will there be support for PHP 5.4.x ?

  • guest Tuesday, September 20, 2011

    What about the template language Twig (used by Symfony)? Any plans to include that as well?

  • Martin Fousek Tuesday, September 20, 2011

    Sorry, but not. PHP 5.4.x will not be supported in NetBeans 7.1.

  • Martin Fousek Tuesday, September 20, 2011

    About the Twig - not sure for now. It will depend on results of planning for next NetBeans release which could happen in one or two months.

  • michal Wednesday, September 21, 2011


    There is already twig plugin for netbeans:


  • michal Wednesday, September 21, 2011


    There is already twig plugin for netbeans. You can find it on netbeans plugin portal.

  • guest Friday, September 23, 2011

    Too bad Smarty sucks.

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