Visual Studio: Replacing spaces with tabs and vice versa

To replace spaces with tabs:
  1. Select the text that contains the spaces you want to replace with tabs, or choose Select All from the Edit menu to select the entire file.
  2. From the Edit menu choose Advanced, then click Tabify Selection.

Found on MSDN. I've needed this about zillion times, but never knew it was built into Visual Studio.

Posted October 24, 2005 3:54 PM