Format the Current Document or Selection
Keyboard: CTRL + K, CTRL + D (document); CTRL + K, CTRL + F (selection)
Menu: Edit -> Advanced -> Format Document; Edit -> Advanced -> Format Selection
Command: Edit.FormatDocument; Edit.FormatSelection
Versions: 2008,2010
Published: 5/19/2010
Code: vstipEdit0057
So, let's say you have some funky code that isn't formatted properly:
And you want it to look good. Just select the code then go to Edit -> Advanced -> Format Selection to get this:
Simple. Easy. Cool.