Modifying DreamWeaver’s Code Coloring

8/2/2005 · 1 comment

in Web Development

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.

Did you like this? Please share it:

Add to Twitter Add to Delicious Add to Facebook Add to Stumble Upon Add to Digg Add to Reddit Add to Yahoo Buzz

1 comment… read it below or tell us what you think.

Tom 7/4/2009 at 12:18 pm

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: