
Preserving Code Formats with CodeSweepers
99
5
Create a custom profile for it, following the steps in the next procedure for editing
a CodeSweeper.
6
When you are done, click Apply.
To edit a CodeSweeper:
1
Select
Options > Settings > CodeSweeper
.
2
Highlight a CodeSweeper in the list and click the Edit Profile button.
3
Make changes to the General and Tag Specific options as necessary.
4
When you are done, click Apply.
To delete a CodeSweeper:
1
Select
Options > Settings > CodeSweeper
.
2
Highlight the CodeSweeper to delete and click Remove CodeSweeper.
3
Click Apply.
Setting Macromedia CodeSweeper options
The options described in this section apply only to Macromedia CodeSweepers.
HTML Tidy options are covered in the next section.
To view or edit CodeSweeper options:
•
Select
Options > Settings > CodeSweeper
.
General options
Following are the general options you can set:
•
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.
Tip
You can also change the case of tags on demand for the current document, by
selecting
Edit > Convert Tag Case
. This operation cannot be undone.
•
Set the use of quotes for attribute values.
•
The Trim white space between tags option deletes extra spacing produced by
some code generation tools. It is enabled by default. For best results, leave it on
and disable 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.
Содержание ColdFusion Server 5
Страница 18: ...xviii About This Book...
Страница 26: ...8 Chapter 1 Setting Up the Product...
Страница 42: ...24 Chapter 2 Configuring Browsers and Servers...
Страница 60: ...42 Chapter 3 Exploring the Workspace...
Страница 100: ...82 Chapter 6 Editing Pages...
Страница 126: ...108 Chapter 7 Using Web Development Languages...
Страница 212: ...194 Chapter 13 Customizing the Development Environment...
Страница 320: ...302 Glossary...