返回列表 发新帖
查看: 411|回复: 0

[经验] zend studio 9.0不支持.tpl文件的设置方法

[复制链接]

6673

热度

1万

元宝

262

贡献

管理员

DZ专员

发表于 2014-12-15 14:25:43 | 显示全部楼层 |阅读模式
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)]

返回列表 发新帖
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|草根吧