title: How can I make VS2010 insert using statements in the order dictated by StyleCop rules
body: <p>The related default StyleCop rules are:</p>
  
  <ol>
  <li>Place <code>using</code> statements inside <code>namespace</code>.</li>
  <li>Sort <code>using</code> statements alphabetically.</li>
  <li>But ... <code>System</code> <code>using</code> come first (still trying to figure out if that means just <code>using System;</code> or <code>using System[.*];</code>).</li>
  </ol>
  
  <p>So, my use case:</p>
  
  <ul>
  <li>I find a bug and decide that I need to at least add an intelligible Assert to make debugging less painful for the next guy. So I start typing <code>Debug.Assert(</code> and intellisense marks it in Red. I hover mouse over <code>Debug</code> and between <code>using System.Diagnostics;</code> and <code>System.Diagnostics.Debug</code> I choose the former. This inserts <code>using System.Diagnostics;</code>  after all other <code>using</code> statements. It would be nice if VS2010 did not assist me in writing code that won't build due to warnings as errors.</li>
  </ul>
  
  <p>How can I make VS2010 smarter? Is there some sort of setting, or does this require a full-fledged add-in of some sort?</p>