Rewriting source code automatically


    You can use GoLive to automatically rewrite source code that you manually entered yourself. GoLive rewrites the code with indents and line breaks, changes the case of tags and attributes, and sets quotes for attribute values as specified in the Rewrite Source Code dialog box.

To rewrite source code automatically:

  1. Open a page in any of the editors, or select multiple pages in the Files tab of the Site window (Shift-click to select contiguous files or Ctrl-click to select non-contiguous files).
  2. Choose Edit > Document Content > Rewrite Source Code.
  3. Specify options as desired.
  4. Do one of the following:
    • Click Web Settings Default to rewrite source code as specified in Web Settings.
    • Click No Change to revert any unwanted changes you've made.
  5. Click OK.