DW CC – Advanced Code Coloring XML
Does DW CC support the CodeColoring.xml file, or has this been replaced with something new?
For example: With earlier versions I could color all attributes independently as follows:
File: CodeColoring.xml
Sytax location: <scheme name="HTML" id="HTML" doctypes="ASP.NET_VB,ASP.NET_CSharp,ASP-JS,ASP-VB,ColdFusion,CFC,HTML,JSP,PHP_MySQL,Libra ryItem,WML,XSLT" priority="50">
Syntax: <defaultAttribute name="Attribute" id="Attribute" />
Colored syntax:
In recent versions of Dreamweaver, changes to code colouring and similar configuration changes need to be made in your personal configuration folder, not in the main configuration folder.
Details of how to find your personal configuration folder are in the Dreamweaver FAQ: http://forums.adobe.com/message/2260994.
Similar Messages
-
Import code coloring xml and code snippets into dreamweaver cc 2014
How do I import my code coloring xml file and code snippets from the earlier version of dreamweaver into cc 2014?
Thanks, Preran. After uninstalling the 2014.1 update and reinstalling the previous version, I now installed the 2014.1 update again. Instead of jumping straight into restoring the preferences, I decided to test it out as-is, and it worked! No problems with pasting after opening any of my five browsers. I wonder what may have gone wrong the first time...or what was corrected during the uninstall/reinstall process. In any case, it is working again now and I am grateful. Thanks!
-
Color code from XML to Color.setRGB method
hi all
How to pass a string (ex. "ff00ff" ) as a color code from XML
to Color.setRGB method in flash?
thanks in advance
jibyadd "0x" before the hex number.
-
Adding code-coloring to file with nonstandard extension
I have PHP files that end in .ctp, which are basically HTML templates with PHP mixed in (as part of the Cake PHP framework). I'd like them to be parsed for code coloring the same way that the PHP files are, but the text is all black. Is there a way that I can tell Dreamweaver to parse it for PHP code coloring? I have already added ".ctp" to the list of file types that open in Code View using DW's Preferences.
This is CS4.
Thanks!Nevermind - I figured it out from here, you just have to edit an XML file to include the new extension that should be treated as PHP:
http://kb2.adobe.com/cps/164/tn_16410.html -
Use PHP code coloring in HTML files
In Dreamweaver CS3, what changes do I need to make to get PHP
code coloring show up in .html files?robot88888888,
First, copy this file from the app config folder:
C:\Program Files\Adobe\Adobe Dreamweaver
CS3\configuration\CodeColoring\PHP.xml
To the user config folder:
C:\Documents and Settings\[username]\Application
Data\Adobe\Dreamweaver
9\Configuration\CodeColoring\
Then open PHP.xml in your favorite editor. You need to add
HTML to all
of the doctype lists Change every occurrence of this:
doctypes="PHP_MySQL"
to be:
doctypes="PHP_MySQL,HTML"
Save and close. If DW is running, close it. Now restart DW.
HTH,
Randy
> In Dreamweaver CS3, what changes do I need to make to
get PHP code coloring show up in .html files? -
How can i write the code in xml publisher desktop
hi all
How and where can i write the code in xml publisher desktop ???
shall i know how to write xml code or what ??
in which part can i write the code if i have more than one query ?hi dear
Thanks for ur replay...
What i mean is : i used to work on reports builder,so :
1- i used to create more than query in some reports.
2- create formulas ,procedures....
NOW i want to create the same reports by using xml publisher desktop, so how can i do that...
when i use {color:#ff0000}report wizard{color}, i can not or i don`t know how to use more than one query, create formulas or procedures.
Please help me.
Thanks again. -
My network administrator informed me that he would like to
use all .htm file extensions on our site, and that he will program
the server to render PHP tags within the .htm files for our
web-apps.
However, for development work I would still like to apply the
PHP code-coloring within files that have .htm extension. Can I tell
Dreamweaver to do this?
Thanks!What was old is new again!
Similar to the original poster, my IT area has set up the web server to process all .HTM files as if they were .ASP. Subsequently, I cannot view my HTM files as they would appear if they were "true" ASP files in Dreamweaver CS5. I applied the changes described in TechNote 16410 to MMDocumentTypes.xml (removing the HTM extension from the winfileextension and macfileextension attirbutes of the HTML InternalType and adding the HTM extension to the winfileextension and macfileextension attirbutes of the ASP-VBScript InternalType). I moved HTM in Extensions.txt from the HTML Documents line to Active Server Pages line and I removed the backup I had made of MMDocumentTypes.xml from the Adobe directory.
Based on another posting in this forum regarding code coloring, I added <%@LANGUAGE="VBSCRIPT"%> to the first line of my HTM (ASP) file.
No matter which file with the HTM extension I open in Dreamweaver, I get this message:
I also need to terminate Dreamweaver using Windows XP's Task Manager. File > Close, the application close button, Ctrl+Q and Alt+F4 do not work. -
The changes I make in the Preferences section under Code Coloring do not always stick. I even tried replacing the Colors.xml file with someone else's theme. That does not come through. I replaced it both under my Configuration/Code Coloring folder which appears under Applications as well as my User folder.
I don't understand why some of the changes take and others not. Should there not be an easier way to do this??
Any clues as to how I can make the new (external) Colors.xml stick would be appreciated.CS5. And I should say, the instructions given on the Adobe site on how to swap out the colors.xml file indicate a folder that doesn't exist. There is no Preferences folder. It's Configurations.
-
Code Coloring, ASP/VBScript, & CS5
My IT area has set up the web server to process all .HTM files as if they were .ASP. Subsequently, I cannot view my HTM files as they would appear if they were "true" ASP files in Dreamweaver CS5. I applied the changes described in TechNote 16410 to MMDocumentTypes.xml (removing the HTM extension from the winfileextension and macfileextension attirbutes of the HTML InternalType and adding the HTM extension to the winfileextension and macfileextension attirbutes of the ASP-VBScript InternalType). I moved HTM in Extensions.txt from the HTML Documents line to the Active Server Pages line and I removed the backup I had made of MMDocumentTypes.xml from the Adobe directory.
Based on another posting in this forum regarding code coloring, I added <%@LANGUAGE="VBSCRIPT"%> to the first line of my HTM (ASP) file.
No matter which file with the HTM extension I open in Dreamweaver, I get this message:
When this happens also I need to terminate Dreamweaver using Windows XP's Task Manager. File > Close, application "close" [X] button, Ctrl+Q and Alt+F4 do not work.As far as I know (could be wrong here), DW does not allow you to alter the behavior of htm(l) files. The technote is aimed at adding new file types that DW doesn't already recognize.
-
Code Coloring - adding extensions
Does anyone know how to make .inc files (or any extension)
use the .php code coloring scheme (or any scheme) in Dreamweaver 9
(CS3)? The tech note I found among these messages applies to
Dreamweaver MX, but not all configuration files mentioned in the
tech article are found in the DW9/CS3 configuration.theopan,
OK, I think I understand the problem now. The
MMDocumentTypes.xml file
is no longer automatically copied from the Application
Configuration
folder to the User Configuration folder, so you need to
manually copy it.
Hope this helps,
Randy
> No, the folder renaming is not the issue, I have been
looking in adobe. Have
> scanned my entire harddrive, inlcuding hidden and system
files and folders.
> There is a note in the Configuration_ReadMe.htm that the
extensionsdata folder
> is only there for backwards compatibility. My issue is
there is no
> MMDocumentTypes.xml file anywhere, and although I have
made changes to several
> .txt and .xml files to include INC wherever PHP is
found, using what seems
> logical additions, INC files are not being displayed
with colors. Whatever
> functionality MMDocumentTypes.xml was performing must
have been moved or
> duplicated to another file. Any more help in this area
would be appreciated.
> It's probably something simple, but don't know where to
go next. -
Cs3 color setting xml file location ( colors.xml )
In previous versions of dreamweaver ( or previous to windows
vista ) I was able to access this file via documents and settings
and then into the macromedia subfolders.
It contained the file colors.xml which held my code coloring
preferences.
Any idea where that file would be in CS3 adn Vista?Protoculture wrote:
> Actually yes I did use the search tool.
>
> Unfortunatley it did not find the colors.xml file.
>
> Has it been renamed?
I haven't created any custom colours, but Vista search found
this for me
in seconds:
C:\Program Files\Adobe\Adobe Dreamweaver
CS3\configuration\CodeColoring\Colors.xml
I presume that if an individual user creates a set of custom
colours,
the XML file will be in the Roaming folder.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Code Coloring - black background
Has somebody Dreamweaver 8 configured to use black background
in Code Editor? If so, please distribute the ColorCodings XML files
somewhere.
Thank you very much
csIf you are comfortable manually editing Registry/Preferences
and raw
XML, then try this:
1. Shutdown DW
2. Edit Configuration/CodeColors/Colors.xml and do a global
change of
"#000000" (black) to "#FFFFFF" (white).
Note: be sure to edit Colors.xml in your User (not
Application)
Configuration folder. This TechNote explains the difference:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16420
3. (On Windows) Using regedit, go to:
\\HKEY_CURRENT_USER\Software\Macromedia\Dreamweaver 8\Tag
Colors
Change all "#000000" (black) values to "#FFFFFF" (white)
Change "Background Color" to "#000000"
Close regedit
4. Restart DW.
You may need to tweak a few settings in Code Coloring editor,
but that
should get you most of the way there.
Hope this helps,
Randy
> Has somebody Dreamweaver 8 configured to use black
background in Code Editor? If so, please distribute the
ColorCodings XML files somewhere. -
Sass scss code coloring and code hinting
Cannot get Dreamweaver to treat .scss files as style sheets with CSS code coloring and code hinting?
Have tried editing the MMDocumentTypes.xml file located in the /Applications/Adobe Dreamweaver CS5.5/Configuration/DocumentTypes folder, as recommended by other users having this issue. Still no code coloring or code hinting. I suspect there may be multiple MMDocumentTypes.xml files and I need to find the correct one?
O.S.: OSX Mavericks
Dreamweaver: CS5.5kms5038 wrote:
> I no longer have code coloring or code hints working on
Dreamweaver. I checked
> the preferences and everything is still set the same but
whenever I open an
> existing document it will not give me the code coloring
or code hints. I still
> get it when I open a new doc but nothing else. Any ideas
on how to fix this?
It sounds like DW does not recognize the file type of your
page. What is
the file extension?
Randy -
Is there a way to keep the code coloring when using windows in high contrast appearance?
Sorry, I don't have your version, but have you checked in your personal configuration folder and editing these files?
https://forums.adobe.com/message/2260994#2260994
CodeColoring.xml
Colors.xml
You can also download color schemes like
http://www.xenon-webdesign.co.uk/dev/dark-code-view-theme-color-scheme-dreamweaver-cs3-sub lime-text-skin/ -
I've got code coloring schemes for several document types
tweaked until they're just what I like. How do I copy one (say, my
.asp scheme) to a different document type? What about if the
document type (.inc) is one that's not on the list at
Preferences|Code Coloring?> I've got code coloring schemes for several document
types tweaked until they're
> just what I like. How do I copy one (say, my .asp
scheme) to a different
> document type?
There's no way to do that through the DW UI, but you can do
it by
manually editing some Configuration files.
Start by reading this TechNote:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16420
This describes the difference between the "application" and
"user"
Configuration folders and where to find them on your system.
It's best
to edit files in the user config folder, not the *parallel*
app config
folder. You may have to first copy a file from the app config
folder to
the user config folder before you can edit it.
Now, take a look at the Configuration/CodeColoring/Colors.xml
file. You
should find a <colorGroup> tag with one of the ASP
doctypes listed with
your changes. You can either add the new doctypes to the
list, or just
remove the doctypes attributes so that the colors apply to
all doctypes.
> What about if the document type (.inc) is one that's
not on the
> list at Preferences|Code Coloring?
This TechNote explains how to add new file extensions:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410
HTH,
Randy
Maybe you are looking for
-
Windows Vista Activation Error KB948465 - Best Fix?
I have had a Dell Inspiron Desktop 530 S since 2009, it came preinstalled and activated with Windows Vista SP2. In 2011, the hard drive developed a problem and working with Dell, we reinstalled the OS. I have been running without any issues since t
-
Error while creating a material master (mm01)
hi, I'm getting this error message when I'm creating a material master in a specific plant/sloc. I'm probably guessing its in config. I really need some help here. "Tables TCURM and T001W inconsistent; notify your system administrator" . could any on
-
Canon iR 5055 error specify correct ID and Password
We have a Canon iR5055 B/W copier on our network and 2 staff members can not print to it. When they try to print, I get an error message that says they have to specify a correct ID and Passwrd Error: 15513. I have uninstalled and reinstalled the driv
-
Question regarding decode function.
Hi friends, I have a question regarding using decode. I'm try'g to explain my problem using emp table. Can you guys please help me out. For example consider emp table, now i want to get all manager id's concatenated for 2 employees. I tried using fol
-
Samsung SSD in Macbook Pro, slow boot.
So I bought an 256GB Samsung 830 SSD for my Macbook Pro (mid 2009 2.66Ghz 15"). Anyway, I installed it tonight and I've been having a lot of problems with it as an internal drive. I had been using a 750GB WD Black for a long time and it's worked grea