beautypg.com

Set the code colors use an external editor, Set the code colors, Use an external editor – Adobe Dreamweaver CC 2014 v.13 User Manual

Page 90

background image

To the top

To the top

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 code colors

Use the code coloring preferences to specify colors for general categories of tags and code elements, such as form-related tags or JavaScript
identifiers. To set color preferences for a specific tag, edit the tag definition in the Tag Library editor.

1. Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).

2. Select Code Coloring from the Category list on the left.

3. Select a document type from the Document type list. Any edits you make to code coloring preferences will affect all documents of this type.

4. Click the Edit Coloring Scheme button.

5. In the Edit Coloring Scheme dialog box, select a code element from the Styles For list, and set its text color, background color, and

(optional) style (bold, italic, or underline). The sample code in the Preview pane changes to match the new colors and styles.

Click OK to save your changes and close the Edit Coloring Scheme dialog box.

6. Make any other necessary selections in Code Coloring preferences and click OK.

Default background sets the default background color for Code view and the Code inspector.

Hidden characters sets the color for hidden characters.

Live Code background sets the background color for Live Code view. The default color is yellow.

Live Code changes sets the highlighting color of code that changes in Live Code view. The default color is pink.

Read only background sets the background color for read only text.

Use an external editor

You can specify an external editor to use for editing files with specific filename extensions. For example, you can start a text editor such as BBEdit,
Notepad, or TextEdit from Dreamweaver to edit JavaScript (JS) files.

You can assign different external editors for different filename extensions.

Set an external editor for a file type

1. Select Edit > Preferences.

2. Select File Types/Editors from the Category list on the left, set the options, and click OK.

Open In Code View Specifies the filename extensions that automatically open in Code view in Dreamweaver.

External Code Editor Specifies the text editor to use.

Reload Modified Files Specifies the behavior when Dreamweaver detects that changes were made externally to a document that is open in
Dreamweaver.

Save On Launch Specifies whether Dreamweaver should always save the current document before starting the editor, never save the
document, or prompt you to ask whether to save or not each time you start the external editor.

Fireworks Specifies editors for various media file types.

Start an external code editor

Select Edit > Edit with External Editor.

More Help topics

Coding toolbar overview

Clean up Microsoft Word HTML files

83

This manual is related to the following products: