Macromedia dreamweaver 8-using dreamweaver User Manual
Writing and editing code
561
To add or edit a keyboard shortcut for a snippet:
1.
In the Snippets panel, right-click (Windows) or Control-click (Macintosh) and select Edit
Keyboard Shortcuts.
Keyboard Shortcuts.
The Keyboard Shortcuts Editor appears.
2.
In the Commands pop-up menu, select Snippets.
A list of snippets appears.
3.
Select a snippet and assign a keyboard shortcut to it.
For more information, see
.
To share a snippet with other members of your team:
1.
Find the file corresponding to the snippet that you want to share in the Configuration/
Snippets folder in the Dreamweaver application folder.
Snippets folder in the Dreamweaver application folder.
2.
Copy the snippet file to a shared folder on your computer or a network computer.
3.
Have the other members of the team copy the snippet file to their Configuration/
Snippets folder.
Snippets folder.
Inserting code quickly with the Coding toolbar
You can use the Coding toolbar to quickly add code to your page.
To insert code quickly:
1.
Make sure you are in Code view (View > Code).
2.
Position the insertion point in the code, or select a block of code.
3.
Click a button in the Coding toolbar, or select an item from a pop-up menu in the toolbar.
To find out what each button does, position the pointer over it until a tooltip appears. The
following buttons are displayed by default in the Coding toolbar.
following buttons are displayed by default in the Coding toolbar.
Open Documents
lists the documents that are open. When you select one, it is displayed in
the Document window.
Collapse Full Tag
collapses the content between a set of opening and closing tags (for
example, the content between
<table>
and
</table>
). You must place the insertion point in
the opening or closing tag and then click the Collapse Full Tag button to collapse the tag.
TIP
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
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
.