I had to dig up this handy tip earlier so figured I’d repost it – both for myself and for others looking to make their code cleaner without manually respacing and indenting everything.
http://www.orcsweb.com/blog/brad/auto-format-vs2010-source-code/