To find out what each button does, position the pointer over it until a tooltip appears. The Coding toolbar displays the following buttons by default:
You can also collapse the code outside a full tag
by placing the insertion point in an opening or closing tag and
Alt‑clicking (Windows) or Option-clicking (Macintosh) the Collapse
Full Tag button. Additionally, Control-clicking this button disables “smart
collapse” so that Dreamweaver doesn’t adjust
the content it collapses outside full tags. For more information,
see About collapsing code.
You can
also collapse the code outside a selection by Alt‑clicking (Windows)
or Option-clicking (Macintosh) the Collapse Selection button. Additionally,
Control-clicking this button disables “smart collapse” so that you
can collapse exactly what you selected without any manipulation
from Dreamweaver. For more information, see About collapsing code.Apply HTML Comment wraps the selected code with <!-- and --!>, or opens a new tag if no code is selected.
Apply // Comment inserts // at the beginning of each line of selected CSS or JavaScript code, or inserts a single // tag if no code is selected.
Apply /* */ wraps the selected CSS or JavaScript code with /* and */.
Apply ' Comment is for Visual Basic code. It inserts a single quotation mark at the beginning of each line of a Visual Basic script, or inserts a single quotation mark at the insertion point if no code is selected.
When you are working in a ASP, ASP.NET, JSP, PHP, or ColdFusion file and you select the Apply Server Comment option, Dreamweaver automatically detects the correct comment tag and applies it to your selection.
The number of buttons available in the Coding toolbar varies depending on the size of the Code view in the Document window. To see all of the available buttons, resize the Code view window or click the expander arrow at the bottom of the Coding toolbar.
You can also edit the Coding toolbar to display more buttons (such as Word Wrap, Hidden Characters, and Auto Indent) or hide buttons that you don’t want to use. To do this, however, you must edit the XML file that generates the toolbar. For more information, see Extending Dreamweaver.