Formatting code with CodeSweepers
115
Editing an HTML Tidy CodeSweeper
The HTML Tidy CodeSweepers pane provides access to all the supported options,
but you can also edit a profile directly. This is especially useful in these situations:
•
When you do not want an option to appear in the CodeSweeper pane, delete the
name:value pair for the option from the TDY file.
•
When you download a new HTML Tidy version and want to enable a new option,
add the option to the TDY file. The HTML Tidy website lists new features and the
correct syntax for enabling them.
To edit an HTML Tidy CodeSweeper:
1
Open the TDY file from the \Extensions\Codesweepers directory.
2
Save a backup copy of the file.
3
Add, edit, and delete the name:value pairs as needed.
4
Save the file.
The HTML Tidy CodeSweeper pane displays the updated information.
Deleting an HTML Tidy CodeSweeper
The best way to delete an HTML Tidy CodeSweeper is to delete the CodeSweeper’s
TDY file from \Extensions\Codesweepers. You can do this in one of the Files tabs or
in Windows Explorer.
Running a CodeSweeper
You can run the default CodeSweeper or specify a CodeSweeper to use.
To run a CodeSweeper, do one of the following:
•
Select
Tools > CodeSweeper
> Default CodeSweeper.
The default Code Sweeper appears in the drop-down list with a red checkmark.
To change the default CodeSweeper, see
“Managing CodeSweepers” on page 116
.
•
Select
Tools > CodeSweeper
, and select a CodeSweeper from the drop-down list.
Содержание HOMESITE
Страница 11: ...Contents xi Table of CommandID values 310 Table of SettingID values 314 Glossary 323...
Страница 12: ...xii Contents...
Страница 20: ...xx About This Book...
Страница 28: ...8 Chapter 1 Setting Up the Product...
Страница 70: ...50 Chapter 4 Managing Files...
Страница 88: ...68 Chapter 5 Writing Code and Web Content...
Страница 116: ...96 Chapter 6 Editing Pages...
Страница 148: ...128 Chapter 7 Using Web Development Languages...
Страница 190: ...170 Chapter 11 Deploying Files...
Страница 210: ...190 Chapter 12 Testing and Maintaining Web Pages...
Страница 216: ...196 Chapter 13 Extending the Help System...
Страница 350: ...330 Glossary...
Страница 358: ...338 Index...