The Web site of Alex S. Jones, community catalyst, user advocate, Web technologist, barbecue acolyte & information junkie

Modifying DreamWeaver’s Code Coloring

Macromedia - Dreamweaver TechNote : Changing and adding file extensions recognized by Dreamweaver MX

Adding this to the site to ensure I can easily find it down the road. The article describes how to add additional file formats to specific color coding styles. For example, I want to ensure that files that end with ‘.inc’, ‘.tpl’, ‘neo’ and ‘.class’ will follow the color coding guidelines for PHP, so I have modified the PHP line in MMDocumentTypes.xml so it reads:


<documenttype
  id="PHP_MySQL"
  servermodel="PHP MySQL"
  internaltype="Dynamic"
  winfileextension="php,php3,php4,php5,tpl,neo,inc,class"
  macfileextension="php,php3,php4,php5,tpl,neo,inc,class"
  file="Default.php"
  writebyteordermark="false">
</documenttype>

Note: The code should be on a single line - I added carriage returns for readability.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

Post Information

This entry is categorized under Web Development and tagged .

If you would like to follow the discussion on this post, you can follow the comment feed.