freemarker在dreamweaver 中的优化
来源:互联网 发布:启明星软件 编辑:程序博客网 时间:2024/06/11 00:34
freemarker脚本将你的页面搞得一团槽吧.
修改一下dreamweaver的配置,将freemarker 脚本显示成和js一样的图标效果吧
以dreamweaver8为例
打开
Dreamweaver 8\Configuration\ThirdPartyTags\Tags.xml
加入
< !-- FreeMarker Tag By hety-->
<directive_spec tag_name="ftl_b1" start_string="[#" end_string="]" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_e1" start_string="[/#" end_string="]" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_i" start_string="[@" end_string="/]" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_b2" start_string="<#" end_string=">" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_e2" start_string="</#" end_string=">" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_v" start_string="${" end_string="}" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
重启下dreamweaver就搞定
dreamweaver其它版本的脚本配置也差不多
此外,让DW认识FTL文件,需要以下操作:
1、修改ApplicationData/Micomedia/Dreamweaver/Configuration/Extensions.txt
在HTML Documents前加上ftl,如:ftl:HTML Documents
2、修改Configuration/DocumentTypes/MMDocumentTypes.xml文件
把id为HTML里的winfileextension里加入ftl,macfileextension里也加上ftl
修改一下dreamweaver的配置,将freemarker 脚本显示成和js一样的图标效果吧
以dreamweaver8为例
打开
Dreamweaver 8\Configuration\ThirdPartyTags\Tags.xml
加入
< !-- FreeMarker Tag By hety-->
<directive_spec tag_name="ftl_b1" start_string="[#" end_string="]" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_e1" start_string="[/#" end_string="]" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_i" start_string="[@" end_string="/]" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_b2" start_string="<#" end_string=">" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_e2" start_string="</#" end_string=">" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
<directive_spec tag_name="ftl_v" start_string="${" end_string="}" detect_in_attribute="true" icon="TemplateExpr.gif" icon_width="17" icon_height="15"/>
重启下dreamweaver就搞定
dreamweaver其它版本的脚本配置也差不多
此外,让DW认识FTL文件,需要以下操作:
1、修改ApplicationData/Micomedia/Dreamweaver/Configuration/Extensions.txt
在HTML Documents前加上ftl,如:ftl:HTML Documents
2、修改Configuration/DocumentTypes/MMDocumentTypes.xml文件
把id为HTML里的winfileextension里加入ftl,macfileextension里也加上ftl
0 0
- freemarker在dreamweaver 中的优化
- freemarker在dreamweaver(8)中的优化
- Dreamweaver在注册表中的信息
- AIR在flash和dreamweaver中的应用,
- Hashmap在freemarker中的应用
- FreeMarker在web中的例子
- freemarker在servlet中的使用
- FreeMarker在eclipse中的入门例子
- 关于Freemarker在struts2中的使用
- Freemarker在web项目中的使用
- FreeMarker在Web应用中的配置
- 购物商城---freemarker在项目中的应用
- FreeMarker在Web应用中的配置
- Dreamweaver 8 中的新功能
- Dreamweaver 中的主要事件
- Dreamweaver中的标签
- SpringMVC结合Freemarker在页面调用静态方法优化总结
- 用Dreamweaver进行网页优化
- 使用ajax中success后的返回值
- 数据库优化资料
- PHP数据库保存session会话
- 2016-06-12 解析漫云项目的root-servlet.xml
- Ajax 完整教程 (转)
- freemarker在dreamweaver 中的优化
- 迷瘴
- 架构和框架的区别
- Android中shape的使用
- es中doucment失效的同时更新可能出现的问题
- app审核被拒--定位
- intro to JNDI
- 微信公众帐号开发-接口配置
- LaunchImage、LaunchScreen