Reputation: 551
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.
Upvotes: 45
Views: 18309
Reputation: 71
Regarding the first anwser ... "Keep Tabs" will only work until you start using linq queries. When visual studio formats linq queries adds some spaces for paddind.
There are no built-in support in vs2010 for strict indentation using tabs.
Upvotes: -4
Reputation: 36546
Tools > Options > Text Editor > All Languages > Tabs > enable "Keep Tabs".
You can also adjust this setting on a per-language basis.
Upvotes: 82