Dreamweaver Code Preferences

To make life using Dreamweaver as easy as possible there are a number of preferences which need setting. Like Tag Libraries this just needs to be done once per copy of Dreamweaver

Code Formatting

I find code indented in by 4 spaces at each level is the most readable. Therefore I set Indent With 4 spaces and tab size to 4. I also override case of tag and attribute so that they are always in the same case (lower case).

Code Formatting Preferences

Code Hints

I find that I make less mistakes if a closing tag is automatically added as soon as I add an opening tag. Therefore I have set Close Tags to after typing the open tags.

Code Hints Preferences

Code Re-writing

In order to ensure that Dreamweaver generated code is as error free as possible I set Fix invalidly nested and unclosed tags as well as Remove extra closing tags.

Code Re-writing Preferences