how to make visual studio javascript formatting work?
<p>For some reason Visual Studio javascript formatting does not understand the syntax:</p>

<pre><code>(function(){

})();
</code></pre>

<p>I'm getting "expected expression" in the second character of this line: <code>})();</code></p>

<p>So I was wondering if anyone had this problem before (want to format their code but visual studio stubbornly thinks the valid code has an error and refuses to do so) and how do we solve it?</p>
