Visual Studio Keyboard Shortcut to auto-format a document

Its a wonderful shortcut when you come across someone who has written some code for you and not used the tab key at all.

Open the document

Press Ctrl + K + D

and by the wonders of the html, css and asp.net engine in Visual Studio the document is automatically formatted.

Leave a Reply