Preserving Code Formats With Codesweepers; Selecting A Codesweeper - MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual

For windows 95/98/nt4/2000
Table of Contents

Advertisement

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:

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 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.
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.
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents