Dreamweaver code color scheme DIY

Source: Internet
Author: User
Tags dreamweaver

 

Dreamweaver code color scheme DIY

Recently I just changed my contact lenses, and the white-haired screen on my computer looked at me with a runny nose. However, I had no choice but to watch the code, and changed the Dreamweaver code color scheme.

It is very simple. follow the steps below to implement it immediately:

Find C:/Documents and Settings/your username/Application Data/Adobe/Dreamweaver 9/Configuration/CodeColoring and open Colors. xml in the directory. (If it's Dreamweaver8, it's certainly in Macromedia)

I found that there were more than N codes in it. Render manager could not understand it, because I could not understand it either.
Copy the following code to the last line </colorGroup>, save and exit, and restart Dreamweaver.

<colorGroup doctypes="HTML">  <syntaxColor id="CodeColor_AspIncludeDirDefaultText" text="#000000" />  <syntaxColor id="CodeColor_ASPIncludeAttributes" text="#990099" />  <syntaxColor id="CodeColor_ASPIncludeString" text="#006600" />  <tagColor id="CodeColor_CFScriptTag" text="#990033" />  <syntaxColor id="CodeColor_CSSImport" text="#666666" bold="true" />  <syntaxColor id="CodeColor_CSSMedia" text="#CCCC00" />  <syntaxColor id="CodeColor_CssKeywordImportant" text="#FFFF00" />  <syntaxColor id="CodeColor_CSSSelector" text="#68A2B0" />  <syntaxColor id="CodeColor_CSSValue" text="#B44781" />  <syntaxColor id="CodeColor_CSSProperty" text="#7E9F74" />  <syntaxColor id="CodeColor_CSSComment" text="#326496" />  <syntaxColor id="CodeColor_CSSString" text="#DB0057" />  <tagColor id="CodeColor_HTMLAnchor" text="#DB0057" />  <tagColor id="CodeColor_HTMLForm" text="#FF9900" />  <tagColor id="CodeColor_HTMLImage" text="#B44781" />  <tagColor id="CodeColor_HTMLObject" text="#990000" />  <tagColor id="CodeColor_HTMLScript" text="#FFFF00" />  <tagColor id="CodeColor_HTMLStyle" text="#FFFF00" />  <tagColor id="CodeColor_HTMLTable" text="#62B773" />  <tagColor id="DWTagLibrary_html" text="#68A2B0" />  <syntaxColor id="CodeColor_HTMLTag" text="#326496" />  <syntaxColor id="CodeColor_HTMLNumber" text="#FFFFFF" />  <syntaxColor id="CodeColor_HTMLEntity" text="#666666" bold="true" />  <syntaxColor id="CodeColor_HTMLText" text="#C3D3D7" />  <syntaxColor id="CodeColor_HTMLString" text="#A0645A" />  <syntaxColor id="CodeColor_HTMLComment" text="#326496" />  <syntaxColor id="CodeColor_JavascriptRegexp" text="#006600" />  <syntaxColor id="CodeColor_JavascriptReserved" text="#CCCC00" bold="true" />  <syntaxColor id="CodeColor_JavascriptNative" text="#009999" />  <syntaxColor id="CodeColor_JavascriptIdentifier" text="#99CC00" />  <syntaxColor id="CodeColor_JavascriptFunction" text="#FFFFFF" bold="true" />  <syntaxColor id="CodeColor_JavascriptClient" text="#99CC00" />  <syntaxColor id="CodeColor_JavascriptBracket" text="#FFFFFF" bold="true" />  <syntaxColor id="CodeColor_JavaScriptDefaultText" text="#FFFFFF" />  <syntaxColor id="CodeColor_JavascriptNumber" text="#B44781" />  <syntaxColor id="CodeColor_JavascriptOperator" text="#CCCC00" />  <syntaxColor id="CodeColor_JavascriptComment" text="#326496" />  <syntaxColor id="CodeColor_JavascriptString" text="#68A2B0" />  <tagColor id="DWTagLibrary_templates" text="#000099" />  <syntaxColor id="CodeColor_LibraryText" text="#000000" bgcolor="#FFFFCC" />  <syntaxColor id="CodeColor_DateText" text="#000000" bgcolor="#FFFFCC" /></colorGroup>

After the restart, open the html file and check whether the color has changed. The background seems to have not changed. (The background Code does not seem to be set in this file)
Simply select edit-> preferred parameter-> code color in the Default background.# 1B2B3DYou can.
Isn't the color scheme more comfortable than the previous white flowers ··,
Bingo ~ Of course, other code formats such

Php code color scheme:

<colorGroup doctypes="PHP_MySQL">  <tagColor id="CodeColor_CFScriptTag" text="#990033" />  <syntaxColor id="CodeColor_CSSImport" text="#009999" bold="true" />  <syntaxColor id="CodeColor_CSSMedia" text="#990000" bold="true" />  <syntaxColor id="CodeColor_CssKeywordImportant" text="#FF0000" bold="true" />  <syntaxColor id="CodeColor_CSSSelector" text="#FF00FF" />  <syntaxColor id="CodeColor_CSSValue" text="#0000FF" />  <syntaxColor id="CodeColor_CSSProperty" text="#000099" />  <syntaxColor id="CodeColor_CSSComment" text="#999999" />  <syntaxColor id="CodeColor_CSSString" text="#006600" />  <tagColor id="CodeColor_HTMLAnchor" text="#DB0057" />  <tagColor id="CodeColor_HTMLForm" text="#FF9900" />  <tagColor id="CodeColor_HTMLImage" text="#B44781" />  <tagColor id="CodeColor_HTMLObject" text="#990000" />  <tagColor id="CodeColor_HTMLScript" text="#FFFFFF" />  <tagColor id="CodeColor_HTMLStyle" text="#FFFFFF" />  <tagColor id="CodeColor_HTMLTable" text="#7E9F74" />  <tagColor id="DWTagLibrary_html" text="#68A2B0" />  <syntaxColor id="CodeColor_HTMLTag" text="#326496" />  <syntaxColor id="CodeColor_HTMLNumber" text="#DB0057" />  <syntaxColor id="CodeColor_HTMLEntity" text="#666666" bold="true" />  <syntaxColor id="CodeColor_HTMLText" text="#C3D3D7" />  <syntaxColor id="CodeColor_HTMLString" text="#B44781" />  <syntaxColor id="CodeColor_HTMLComment" text="#326496" />  <syntaxColor id="CodeColor_JavascriptRegexp" text="#006600" />  <syntaxColor id="CodeColor_JavascriptReserved" text="#000099" bold="true" />  <syntaxColor id="CodeColor_JavascriptNative" text="#009999" />  <syntaxColor id="CodeColor_JavascriptIdentifier" text="#000000" />  <syntaxColor id="CodeColor_JavascriptFunction" text="#000000" bold="true" />  <syntaxColor id="CodeColor_JavascriptClient" text="#990099" />  <syntaxColor id="CodeColor_JavascriptBracket" text="#000099" bold="true" />  <syntaxColor id="CodeColor_JavaScriptDefaultText" text="#000000" />  <syntaxColor id="CodeColor_JavascriptNumber" text="#FF0000" />  <syntaxColor id="CodeColor_JavascriptOperator" text="#0000FF" />  <syntaxColor id="CodeColor_JavascriptComment" text="#999999" />  <syntaxColor id="CodeColor_JavascriptString" text="#0000FF" />  <syntaxColor id="CodeColor_PHPScriptBlock" text="#FFFFFF" bold="false" />  <syntaxColor id="CodeColor_PHPScriptBracket" text="#CCCC00" />  <syntaxColor id="CodeColor_PHPScriptComment" text="#326496" />  <syntaxColor id="CodeColor_PHPScriptConstant" text="#999999" />  <syntaxColor id="CodeColor_PhpScriptDefaultText" text="#CCCC00" />  <syntaxColor id="CodeColor_PHPScriptFunction" text="#FFFF00" />  <syntaxColor id="CodeColor_PHPScriptFunctionsKeywords" text="#99CC00" />  <syntaxColor id="CodeColor_PHPScriptIdentifier" text="#7E9F74" />  <syntaxColor id="CodeColor_PHPScriptNumber" text="#FF0000" />  <syntaxColor id="CodeColor_PHPScriptOperator" text="#CCCC00" />  <syntaxColor id="CodeColor_PHPScriptReserved" text="#009999" />  <syntaxColor id="CodeColor_PHPScriptString" text="#A0645A" />  <syntaxColor id="CodeColor_PHPScriptTypes" text="#009999" />  <syntaxColor id="CodeColor_PHPScriptVariables" text="#0066FF" />  <tagColor id="DWTagLibrary_php" text="#000099" />  <syntaxColor id="CodeColor_LibraryText" text="#000000" bgcolor="#FFFFCC" />  <syntaxColor id="CodeColor_DateText" text="#000000" bgcolor="#FFFFCC" /></colorGroup>

Css code color scheme:

<colorGroup doctypes="CSS">  <syntaxColor id="CodeColor_CSSImport" text="#666666" bold="true" />  <syntaxColor id="CodeColor_CSSMedia" text="#CCCC00" />  <syntaxColor id="CodeColor_CssKeywordImportant" text="#FFFF00" />  <syntaxColor id="CodeColor_CSSSelector" text="#68A2B0" />  <syntaxColor id="CodeColor_CSSValue" text="#B44781" />  <syntaxColor id="CodeColor_CSSProperty" text="#7E9F74" />  <syntaxColor id="CodeColor_CSSComment" text="#326496" />  <syntaxColor id="CodeColor_CSSString" text="#DB0057" /></colorGroup>

 

From: http://qilei.org/200809/code-color-diy-in-dreamweaver/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.