An Oracle blog about NetBeans for PHP

  • News
    October 5, 2011

Basic support for Smarty3

Many of you were asking about editor support for changed delimiters policy which happened in Smarty 3.0. I'm glad that I can announce that NetBeans 7.1 will contain initial Smarty3 support which impacts especially delimiters policy and also adds most of Smarty3 tags into the code completion. See the following example for Smarty3 code from our latest Development version:

Smarty3 delimiters policy

If you would like to come back to the Smarty2 behaviour, you can do so in Tools -> Options -> PHP -> Smarty tab.

That's all for today, as always, please test it and report all the issues or enhancements you find in Netbeans Bugzilla -> PHP -> Smarty category. Thanks.

Join the discussion

Comments ( 4 )
  • guest Wednesday, October 5, 2011

    I'm not a Smarty user but I suppose the version used (2 or 3) depends on the project. Will it be a global setting?

  • Martin Fousek Wednesday, October 5, 2011

    You are right that would be better to be able to specify that per project and it could be done by time (probably for next release). However Smarty3 editor support just extends the behaviour so you should have still proper syntax highlighting for Smarty2 code if you are using Smarty3 option.

  • guest Wednesday, October 5, 2011

    You have a tyop in your screenshot...

  • Martin Fousek Thursday, October 6, 2011

    Thanks for letting me know. Should be fixed once the blog's cache will be refreshed.

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