zend studio 9.0无法像处理html一样来处理里面的div+css代码,很不方便。如何让zend studio支持.tpl中的div+css格式呢。经过本人亲自实验,方法在此共享(其他版本应该类似):1、windows->preferences->general->editors->file associations里设置文件关联[backcolor=rgb(241, 254, 221)],如下图:[color=rgb(95, 95, 95)]  [color=rgb(95, 95, 95)]2、windows->preferences->general->Content Types->Text->Html里增加 *.tpl类型,如下图: [color=rgb(95, 95, 95)] 
[color=rgb(95, 95, 95)]现在用zend studio打开.tpl文件,就可以看到div+css格式了! [color=rgb(95, 95, 95)] 
|