Dreamweaver: color code .inc files as .php files

By default Dreamweaver doesn't color-code .inc files as php files. To do that, follow these instructions:

ON XP:

  1. Open file in Notepad: C:\Program Files\Adobe\Adobe Dreamweaver {your version}\configuration\DocumentTypes\MMDocumentTypes.xml
  2. Find code <documenttype id="PHP_MySQL" servermodel="PHP MySQL" internaltype="Dynamic" winfileextension="php,php3,php4,php5" macfileextension="php,php3,php4,php5" file="Default.php" writebyteordermark="false"></documenttype>
  3. Add ,inc after both ,php5
  4. Save, close.
  5. Restart Dreamweaver.