Set the color theme for code view, Customize themes, Set the – Adobe Dreamweaver CC 2015 User Manual
Page 373: Color theme for code view
366
Coding
Last updated 6/3/2015
Note: Unlike the other options in this preferences dialog box, this option does not apply when you open a document,
only when you copy and paste a form element.
Remove Extra Closing Tags
Deletes closing tags that have no corresponding opening tag.
Warn When Fixing Or Removing Tags
Displays a summary of technically invalid HTML that Dreamweaver
attempted to correct. The summary notes the location of the problem (using line and column numbers) so that you
can find the correction and ensure that it’s rendering as intended.
Never Rewrite Code: In Files With Extensions
Allows you to prevent Dreamweaver from rewriting code in files with
the specified filename extensions. This option is particularly useful for files that contain third-party tags.
Encode <, >, &, And " In Attribute Values Using &
Ensures that attribute values that you enter or edit using
Dreamweaver tools such as the Property inspector contain only legal characters. This option is enabled by default.
Note: This option and the following options do not apply to URLs that you type in Code view. Also, they do not cause
existing code already in a file to change.
Do Not Encode Special Characters
Prevents Dreamweaver from changing URLs to use only legal characters. This
option is enabled by default.
Encode Special Characters In URL Using
Ensures that when you enter or edit URLs using Dreamweaver tools
such as the Property inspector, those URLs contain only legal characters.
Encode Special Characters In URL Using %
Operates the same way as the preceding option, but uses a different
method of encoding special characters. This encoding method (using the percent sign) may be more compatible
with older browsers, but doesn’t work as well with characters from some languages.
Set the color theme for Code View
Use the code coloring preferences to specify a theme for Code View. You can customize the theme by choosing different
color shemes for backgrounds, foregrounds, and hidden characters.
For each listed document type, you can customize the colors for different categories of tags and code elements, such as
form-related tags or JavaScript identifiers. For example, with the Raven theme applied to all document types, you can
choose to have a blue color for form-related tags in only HTML documents.
All custom settings in a theme are saved when you click Apply and the customized theme is available for use across
Dreamweaver sessions.
Note
: To set color preferences for a specific tag, edit the tag definition in the Tag Library editor.
Customize themes
The default theme is Classic. To change the theme or to customize a theme, peform the following steps:
1
Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).
2
Select Code Coloring from the Category list on the left.
3
Select a theme from the Themes list.