Peter Brownstein / Digital Marketing / July 3rd, 2007

Code Formatting for the Lazy

One of my pet peeves as a web programmer is getting a horribly formatted sliced HTML file, and then trying to figure out where to plug in the programming.

Thankfully with Visual Studios 2005 (possibly 2003 as well, I don’t know), they have this Format Document feature under the Edit menu (or Ctrl-K then Ctrl-D) that formats and indents the code mess for you.  If you haven’t used it yet, and you have designers that puts out HTML code that reminds you of this, you might want to give Format Document a try.