CoffeeCup Support Knowledge Base

Using the Code Cleaner

If you've ever tried to edit someone else's code, you know the problems involved in trying to pick through a style that is not your own. Re-formatting can be a pain, but with the Code Cleaner, it's a breeze. The Code Cleaner will filter through the source code, and re-style source code to fit your personal taste.

Code Cleaner is also useful for finding errors in your document. If you have trouble loading a document with a browser, running Code Cleaner may be able to find the problem for you, instead of pouring over the lines of code.

To use the Code Cleaner:

1.) On the Main Menu go to Tools->Applications->Code Cleaner...

2.) From this screen you can edit how the Code Cleaner works. For a detailed description on how each option works, place the mouse over that particular option.

3.) For example, say you wanted to change all the tags in your document to upper case. Put a check in the "Uppercase Tags" box, then click "Cool." Code Cleaner goes to work, making the necessary changes to your document. When finished, if there were any errors or warnings, Code Cleaner gives a full report on the warnings and errors found.

4.) After the Code Cleaner has finished, if you decide you don't like the changes it has made, use go to Edit->Undo to reset your document to its previous state. You can always re-run the code cleaner on different settings until you arrive at a style you are happy with.

Rate This Article

You must be logged in to rate articles.

Download Our Software:

... and don't forget about our Free Software