76
Preserving Code Formats with CodeSweepers
The CodeSweeper feature automates the task of getting your code properly formatted.
It can be very useful in a number of situations:
•
To enforce coding styles for multiple developers.
•
To clean up the formatting of existing code.
•
To apply formatting rules when using Design mode to visually edit pages.
Selecting a CodeSweeper
Studio includes a number of CodeSweepers, configured for specific types of
development. You can also create your own CodeSweepers or edit the existing ones.
Allaire CodeSweepers
Installed CodeSweepers include:
•
HTML\CFML — For ColdFusion applications and HTML
•
HTML — Optimized for HTML page code
•
JSP (default) — JSP, HTML, and a subset of CFML tags
•
My CodeSweeper — A CodeSweeper that you can use for testing and editing
•
WDDX Sweeper — WDDX syntax only
•
WEB-XML — Java/EJB code used in deployment descriptor files
•
Allaire Default HTML Tidy Settings — Code formatting plus additional features
HTML Tidy
HTML Tidy, a tool developed by Dave Ragget under the auspices of the W3C, is
installed as an alternate to the Allaire CodeSweepers. HTML Tidy provides code
formatting options plus settings for tag conversions, language support, and other
features not available in the Allaire CodeSweepers.
Select Options > Settings > CodeSweeper and expand HTML Tidy CodeSweepers to
view and set options.
You can easily update the HTML Tidy engine if new features are added to between
ColdFusion Studio releases.
To install a newer version of HTML Tidy:
1. Click the link at the top of the HTML Tidy settings dialog the HTML Tidy Web site.
2. Download the latest version from the site.
3. Close ColdFusion Studio.
4. Copy the tidy.exe files to your ColdFusion Studio root directory.
5. Restart ColdFusion Studio.
Your HTML Tidy configuration is not affected by the update.
Содержание COLDFUSION STUDIO 4.5-USING COLDFUSION...
Страница 1: ...Allaire Corporation Using ColdFusion Studio ColdFusion Studio 4 5 for Windows 95 98 NT4 2000...
Страница 16: ...xvi Contacting Allaire...
Страница 90: ...82...
Страница 130: ...122...
Страница 133: ...141 Two VTML tags CAT and E let you customize the content of these dialog boxes...
Страница 182: ...190...