• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Peel Rubber: Maxing Out Your ... > Obsessive Compulsive Code Formatting

Obsessive Compulsive Code Formatting

It’s rather disgusting how important neat code has become to me. I don’t know how I got this bad, but Dreamweaver makes it so easy to be so anal about code formatting that I just can’t help myself. Commands > Apply Source Formatting snaps code into place based on the preferences set in Edit > Tag Libraries. Being the keyboard shortcut fanatic that I am, this menu option just wasn’t enough for me. Select Edit > Keyboard Shortcuts and assign a keyboard shortcut to the Apply Source Formatting command. I happened to choose Ctrl+Shift+Backspace (Command+Shift+Backspace) because it was free. If you’re as finicky as I am, you’ll even assign a similar shortcut, such as Ctrl+Backspace (Command+Backspace), to the Apply Source Formatting to Selection command.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint