User Guide
Code Hints 79
Code Hints tags
The CodeHints.xml file contains the following tags, which define Code Hints menus. You can
use these tags to define additional Code Hints menus.
<codehints>
Description
The codehints tag is the root of the CodeHints.xml file.
Attributes
None.
Contents
One or more menugroup tags.
Container
None.
Example
<codehints>
<menugroup>
Description
Each menugroup tag corresponds to a type of menu. You can see the menu types that
Dreamweaver defines by selecting the Code Hints category from the Preferences dialog box.
Select Preferences from the Edit menu to display the Preferences dialog box.
You can create a new menu group or add to an existing group. Menu groups are logical collections
of menus that the user might want to enable or disable using the Preferences dialog box.
Attributes
name, enabled, id
• The name attribute is the localized name that appears in the list of menu groups in the Code
Hints category of the Preferences dialog box.
• The enabled attribute indicates whether the menu group is currently checked or enabled. A
menu group that is enabled appears with a check mark next to it in the Code Hints category of
the Preferences dialog box. Assign a
true value to enable the menu group or a false value to
disable a menu group.
• The id attribute is a nonlocalized identifier that refers to the menu group.
Contents
The description, menu, and function tags.
Container
The codehints tag.
Example
<menugroup name=
"Session Variables" enabled="true" id="Session_Code_Hints">