Macromedia dreamweaver 8-extending dreamweaver Manuale Utente

Pagina di 504
102
Extending Dreamweaver
Code Hints
 are menus that offer a typing shortcut by displaying a list of strings that 
potentially complete the string you are typing. If one of the strings in the menu matches the 
string that you started to type, you can select it to insert it in place of the string that you are 
typing. Code Hints menus are defined in the codehints.xml file in the Configuration/
CodeHints folder, and you can add new code hints menus to it for new tags or functions that 
you have defined. 
Menus
 are defined in the menus.xml file in the Configuration/Menus folder. You can add 
new Dreamweaver menus for your extensions by adding the menu tags for them to the 
menus.xml file. For more information, see 
.
Configuration folders and extensions
The folders and files that are stored in the Dreamweaver Configuration folder contain the 
extensions that come with Dreamweaver. When you write an extension, you must save the 
files in the proper folder for Dreamweaver to recognize them. For example, if you create a 
Property inspector extension, you save the files in the Configuration/Inspectors folder. If you 
download and install an extension from the Macromedia Exchange website 
(
), the Extension Manager automatically saves the extension 
files to the proper folders. 
You can use the files in the Dreamweaver Configuration folder as examples, but these files are 
generally more complex than the average extension that is available on the Macromedia 
Exchange website. For more information on the contents of each subfolder within the 
Configuration folder, see the Configuration_ReadMe.htm file.