beautypg.com

Use an external editor, Writing and editing code, Use code hints – Adobe Dreamweaver CS3 User Manual

Page 320

background image

DREAMWEAVER CS3

User Guide

313

4

Select a document type, and click Edit Coloring Scheme.

5

Select an item and set its text color, background color, and (optional) style (bold, italic, or underline), and click OK.

The sample code in the Preview pane changes to match the new colors and styles.

6

Click OK.

See also

“Customize code coloring preferences for a template” on page 418

“Edit libraries, tags, and attributes” on page 344

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.

See also

“Open files in Code view by default” on page 308

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.

Writing and editing code

Use code hints

The code hints feature helps you insert and edit code quickly and without mistakes. When you type certain
characters in Code view, such as the first letters of a tag or attribute or CSS property name, a list appears, suggesting
options to complete your entry. You can use this feature to insert or edit code, or just to see the available attributes
for a tag, the available parameters for a function, or the available methods for an object.

September 4, 2007