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

Comments

Yep, but it can have some pernicious effects (replacing white spaces within quoted strings with tabs, for example...). Believe me, it`s a better job for regular expressions.

David Brabant, October 24, 2005 4:19 PM

Great goods from you, man. Damien Katz: Visual Studio: Replacing spaces with tabs and vice versa I have understand your stuff previous to and you are just extremely great. I actually like what you have acquired here, really like what you are stating and the way in which you say it. You make it enjoyable and you still take care of to keep it sensible. I cant wait to read far more from you. This is actually a wonderful Damien Katz: Visual Studio: Replacing spaces with tabs and vice versa informations.

hyip investment, February 8, 2012 4:12 AM

Post a comment




Remember Me?

(you may use HTML tags for style)