78
Managing CodeSweepers
You can create new CodeSweepers, edit existing ones, and remove them as needed.
To add a new CodeSweeper:
1. Click the New Profile button in the Allaire CodeSweepers panel.
2. Enter a name for the CodeSweeper and select its type: Allaire or HTML Tidy.
3. Click OK to add it to the list.
4. Follow the directions in the next procedure to create a custom profile for the new
CodeSweeper.
To edit a CodeSweeper:
1. Highlight a CodeSweeper in the list and click the Edit Profile button.
2. Make changes to the General and Tag Specific settings and click OK to save the new
profile.
To delete a CodeSweeper, highlight it and click the Remove CodeSweeper button.
Allaire CodeSweeper settings
These settings apply only to Allaire CodeSweepers. HTML Tidy Codesweeper settings
are covered in the next section.
To begin, open the Options > Settings > CodeSweeper pane.
General settings
•
Set the case for tag, attribute, and event names. You can select to preserve the
case as it is found in the document or change to all upper or all lower case.
Event names for case-sensitive JavaScript event handler can also be set to
mixed case.
•
Set a quoting format for attribute values.
•
The Trim white space between tags option deletes extra spacing produced by
some code generation tools. It is enabled by default. Allaire recommends
leaving it on and disabling it for individual tags as needed.
•
Select Run in "silent mode" to eliminate the display of alerts the CodeSweeper
generates while it is running. You can use this option to run a CodeSweeper in
an unattended situation.
•
Select Write Errors to a Log File to capture any errors found by the
CodeSweeper. You can specify a custom location for the log file.
Allaire CodeSweepers treat the colon character (:) in tag names as a normal character,
allowing processing of XML namespaces in tags, such as <xsl:thistag name="foo"/>.
Содержание 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...