I don't want spaces when I tab in visual studio 2010

Jello picture Jello · Aug 17, 2011 · Viewed 18.1k times · Source

Whenever I add a tab in VS 2010, it puts spaces instead. I know you could fix this problem by going in the VS 2008 options, but I can't figure out how to fix this in VS 2010.

Answer

JYelton picture JYelton · Aug 17, 2011
Tools > Options > Text Editor > All Languages > Tabs > enable "Keep Tabs".

You can also adjust this setting on a per-language basis.