title: Visual Studio : Automatically insert a space after typing if(
body: <p>We have a code style checker that's run before every check-in that requires that C# if statements be formatted like:</p>
  
  <pre><code>if (condition)
  </code></pre>
  
  <p>However, my muscle memory has already developed for typing:</p>
  
  <pre><code>if(condition)
  </code></pre>
  
  <p>Is there any way to get Visual Studio 2010 to automatically insert that space if I type the if without it? I know you can set it that when you paste code, it will automatically do this, but not while typing. Thanks!</p>