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.

1 comment so far… Jump into the discussion and tell us what you think.

  1. Tom says:

Leave a Comment

*