This tip and yesterday’s tip were my least favorite features to test. It would just drive me crazy trying to keep up with when should a tab get inserted, when should the cursor move to the correct formatted position, etc. Now, i will only use spaces in my code. =)
Go to Tools – Options – Text Editor – <Language> – Tabs to switch between using tabs or to insert spaces instead.
Note that you can set this for all languages on the Text Editor – All Languages page, but usually this is something you may want to set for each individual language.
Additionally, check out an earlier tip on how to convert tabs to spaces and spaces to tabs.
Technorati tags: VS2005Tip, VS2008Tip