Specifications
Chapter 114
Importing/exporting sites
You can programmatically export a Dreamweaver MX site to an XML file, which can then be
imported by any Dreamweaver instance on any computer. This feature lets users share sites and
move them among host computers. For more information on importing and exporting sites, see
“Site functions” on page 558.
Resource cloaking
In Dreamweaver MX, you can hide from view (cloak) selected files and folders. Cloaking selected
site resources excludes them from site operations that Dreamweaver MX performs, which makes
those operations more efficient. Dreamweaver also lets developers uncloak previously cloaked
resources. You can programmatically cloak and uncloak files and folders by using functions
described in “Site functions” on page 558.
File browsing
A new function has been added to the Site object, which lets you get the name of the site that is
associated with a specific URL. For more information on this function, see “Site functions” on
page 558.
Individual configurations
Multiple users
Dreamweaver MX supports multiple user configurations for the multiuser operating systems of
Windows XP, Windows 2000, Windows NT, and Macintosh OS X. Users can customize
Dreamweaver to best fit their needs without disturbing the customizations that other users have
made on the same system. API functions let you create, remove, and access configuration files as
well as access and set configuration attributes.
Enhanced code editing
Print code
Dreamweaver MX lets you print code in Code view from the File > Print menu and from the
context menu. A new JavaScript function lets you open the print dialog box in Code view. See
“Print function” on page 534.
Code Hints
When the user types a certain sequence in Code view (such as ’<’), a pop-up menu shows a list of
possible text entries, such as a list of tag names. You can select a Code Hint entry from the menu
as a typing shortcut.
The CodeHints.xml file, and a set of XML tags, let you create new Code Hints menus. New
JavaScript functions let you dynamically add menus and functions to a Code Hints menu. You
can also pop up a Code Hints menu at the current location in Code view when Code Hints are
not enabled. See “Code hints functions” on page 392.
Snippets panel
Dreamweaver MX users can edit and save reusable blocks of code in the new Snippets panel and
retrieve them as needed. New JavaScript functions let you edit existing and create new snippets,
organize them, and store them folders with user-friendly names.