How can I automatically indent source code in Visual Studio 2010?
I have used Ctrl + K, Ctrl + F, but it does not work; i
It may be worth noting that auto-indent does not work if there are syntax errors in the document. Get rid of the red squigglies, and THEN try CTRL+K, CTRL+D, whatever...