#018 Format Document, and Format Selection

Visual studio wants you to be happy 🙂 If you like breaks before braces, and after; if you like self closing <br /> tags, if you don’t want self closing <br /> tags. Whatever your fancy, you can automatically have Visual Studio apply with a very quick keyboard combination. This is extremely helpful when you are looking at source code created by someone else. Maybe on your current team, or just an old project.

[CTRL]+[K],[D] = Format Document

[CTRL]+[K],[F] = Format Selection

http://scottcate.looplogic.com/vstricks018

Comments

comments