摘要:本文讲解了如何让Dreamweaver打开编辑rhtml文件,希望阅读本篇文章以后大家有所收获,帮助大家对Dreamweaver的掌握更加深入。
5分钟了解dreamweaver打开编辑rhtml文件方法
dreamweaver 2004mx:
C:/Documents and Settings/<username>/Application Data/Macromedia/Dreamweaver MX 2004/Configuration
dreamweaver 8.0:
c:/Documents and Settings/<username>/Application Data/Macromedia/Dreamweaver 8/Configuration/
下的Extensions.txt文件
在最后面加上:
RB,RHTML:Ruby Files
dreaweaver 2004 mx:
C:/Program Files/Macromedia/Dreamweaver MX 2004/Configuration/DocumentTypes
dreamweaver 8.0:
C:/Program Files/Macromedia/Dreamweaver MX 2004/Configuration/DocumentTypes
在文件的</documenttypes>标签前面加上:
<documenttype id="Ruby" internaltype="Text" winfileextension="rb"
macfileextension="rb" file="Default.rb" writebyteordermark="false">
<TITLE>
Ruby Code
</TITLE>
<description>
Ruby source code
</description>
</documenttype>
<documenttype id="RubyTemplate" internaltype="Dynamic" winfileextension="rhtml"
macfileextension="rhtml" file="Default.rhtml" writebyteordermark="false">
<TITLE>
Ruby Template
</TITLE>
<description>
</description>
</documenttype>
即可!
如果想更改标签的颜色
可以去C:/Documents and Settings/黑山/Application Data/Macromedia/Dreamweaver MX 2004/Configuration/CodeColoring
用户目录修改CodeColoring.xml文件
比如改成:
<scheme name="HTML" id="HTML" doctypes="ASP.NET_VB,ASP.NET_CSharp,ASP-JS,ASP-VB,ColdFusion,CFC,
HTML,JSP,PHP_MySQL,LibraryItem,WML,XSLT,RubyTemplate" priority="50">
本文由职坐标整理并发布,了解更多内容,请关注职坐标常用软件Dreamweaver频道!
您输入的评论内容中包含违禁敏感词
我知道了
请输入正确的手机号码
请输入正确的验证码
您今天的短信下发次数太多了,明天再试试吧!
我们会在第一时间安排职业规划师联系您!
您也可以联系我们的职业规划师咨询:
版权所有 职坐标-一站式IT培训就业服务领导者 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
沪公网安备 31011502005948号