Preserving Code Formats with CodeSweepers
101
Setting HTML Tidy options
Following are brief instructions for adding or editing an HTML Tidy profile. For more
information, please see the HTML Tidy Web site at www.w3.org/People/Raggett/
tidy/. You can access this Web site from the HTML Tidy Settings pane.
Adding a profile
Creating a custom HTML Tidy profile is much like creating one for a Macromedia
CodeSweeper.
To create an HTML Tidy profile:
1
Select
Options > Settings > CodeSweeper
.
2
Click New Profile.
3
Enter a profile name.
4
Select HTML Tidy CodeSweeper from the drop-down type list and click OK.
A set of options is already selected by default.
5
Highlight the CodeSweeper in the list and click Edit Profile.
6
Change the options as necessary.
7
When you are done, click Apply.
Editing a profile
The HTML Tidy CodeSweepers pane gives you access to all the supported options,
but you can also edit a profile directly. This can be useful in a couple of situations:
•
If you want to remove an option from the Settings pane so that it does not display,
delete it from the TDY file.
•
If you download a newer HTML Tidy version and want to enable new options,
add the syntax to the TDY file, as described in the next procedure for editing an
HTML Tidy profile. The HTML Tidy Web site lists new features and the correct
syntax for enabling them.
To edit an HTML Tidy profile:
1
Open the TDY file (a text file) from the \Extensions\Codesweepers directory.
2
Save a backup copy of the file before making any changes.
3
Edit the name:value pairs as needed.
4
Save the file.
The changes are reflected in the HTML Tidy CodeSweeper pane.
To remove an HTML Tidy profile:
•
Delete the profile’s TDY file from \Extensions\Codesweepers in the Files tab or in
Windows Explorer.
Содержание 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...