Please incorporate such indentation feature in JS and hook the indentation shortcut for JS too as we have in C# (CTRL+K+D)
Thanks for the feedback, we’ve added this feature in Visual Studio 2012 along with support for the Ctrl-K, D keyboard shortcut.
Real McCoy commented
You will notice that the code is not formatted with line breaks and indentation.
Chris Sells commented
In fact, you can use Ctrl+K, Ctrl+D to reformat your JS in the BUILD version of VS10 already. Give it a try and let us know what you think.