Ctrl + A
Then
Ctrl + E follow by Ctrl + D
Or simply go to Edit --> Advance --> Format Document
This will use your format setting in the Tool --> Option --> Text Editor --> your language
I assume you have Visual Studio install. This is in VS2008, might be slightly different in VS 2005