title: Tips for making spaces work like tabs in Visual Studio
body: <p>At work we have the convention on using <strong>4 spaces</strong> for code indentation. I'm accustomed to using <code>tabs</code> for indentation, but want to follow the convention.</p>
  
  <p>Note: it is not my intention to start a discussion on spaces vs tabs here.</p>
  
  <p>I adjusted my Visual Studio settings to replaces tabs with 4 spaces, but I have some issues adjusting to using spaces.</p>
  
  <p>For example:</p>
  
  <ul>
  <li><p>How can I easily un-indent code? with <code>tab</code> chararaters, I only
  needed to use <kbd>backspace</kbd> one time, with spaces I need to use <kbd>backspace</kbd>
  4 times.</p></li>
  <li><p>How can I make sure that there is always the correct amount of spaces
  (not three or five)?</p></li>
  <li><p>How can I navigate through my code as fast as I could with tabs? (arrow left or right jumps
  to the next indentation with tabs, but moves only a single position with spaces)</p></li>
  <li><p>How can I ignore whitespace changes when comparing files?</p></li>
  </ul>
  
  <p>Idealy, I would like these 4-spaces for indentation to work equally to tab characters.</p>
  
  <p>I work mainly with c# and XML-based files.</p>
  
  <p>Any tips are welcome!</p>