title: suppress visual studio 2010 javascript parsing error on specific file
body: <p>I have a javascript function of which its name is generated from the model in a ASP MVC razor view:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function @(Model.GetWindowFunctionName)() {
          var win = $('#@(Model.WindowId)').data('tWindow');
          return win;
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>Visual studio 2010 shows a number of compilation errors around the function name.</p>
  
  <p>Is there a way to stop showing javascript errors for a specific file instead of disable all errors with Options/TextEditor/Javascript ?</p>