This has become my preferred technique
because it allows me to enter the opening tag, the enclosed code, and then to close it with just two characters.
If you prefer the legacy method, choose the After Typing The Open Tag??™s ???>??? option. With this option
selected, after I type
into Code view, the corresponding will be added as soon as I type the last >
in the bold tag.
CAUTION CAUTION
105
Setting Your Preferences 4
FIGURE 4-16
Code Hints speed your coding while keeping your entries accurate, whether you??™re working in HTML or CSS.
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 setting up the Code
Rewriting preferences accordingly (see Figure 4-17).
Pages:
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293