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.

Comments:

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?

Posted by guest on October 05, 2011 at 12:15 PM CEST #

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.

Posted by Martin Fousek on October 05, 2011 at 12:29 PM CEST #

You have a tyop in your screenshot...

Posted by guest on October 05, 2011 at 07:47 PM CEST #

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

Posted by Martin Fousek on October 06, 2011 at 03:35 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today