Code coloring

Adobe Dreamweaver lets you customize or extend the code coloring schemes that you see in Code view so that you can add new keywords to a scheme or add code coloring schemes for new document types. If you develop JavaScript functions to use in your client-side script, for example, you can add the names of these functions to the keywords section so that they display in the color that is specified in Preferences. Likewise, if you develop a new programming language for an application server and you want to distribute a new document type to help Adobe Dreamweaver users build pages with it, you could add a code coloring scheme for the document type.

Adobe Dreamweaver provides the JavaScript function dreamweaver.reloadCodeColoring(), which enables you to reload code coloring XML files that might have been edited manually. For more information on this function, see the Adobe Dreamweaver API Reference.

To update a code coloring scheme or add a new scheme, you must modify the code coloring definition files.