
135
Setting Your Preferences
4
Auto Tag Completion is one of my favorite features in Dreamweaver, and it definitely keeps me from
forgetting those pesky closing tags. Whichever method suits you best, I recommend you select one
of them and speed up your coding.
Options: Enable Code Hints
This checkbox determines whether you get the new Dreamweaver Code Hints. If you have this box
enabled, you can set the delay before the Code Hints drop-down menu appears. I leave the delay set
to
0 so that Code Hints display as soon as I start typing.
Code Rewriting preferences
The exception to Dreamweaver’s policy of not altering imported code occurs when HTML or other
code is incorrectly structured. Dreamweaver automatically fixes tags that are nested in the wrong
order or have additional, unnecessary closing tags—unless you tell Dreamweaver otherwise by set-
ting up the Code Rewriting preferences accordingly (see Figure 4-17).
FIGURE 4-17
The Code Rewriting category can be used to protect nonstandard HTML from being automatically changed by
Dreamweaver.
Dreamweaver accommodates many different types of markup languages, not just HTML, through
the Never Rewrite Code In Files With Extensions option. Moreover, you can prevent Dreamweaver
from encoding special characters such as spaces, tildes, and ampersands in URLs or attribute values.
Dreamweaver is now extremely flexible. The following sections des