Jello
Jello

Reputation: 551

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

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

Answers (2)

jjavier
jjavier

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

JYelton
JYelton

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

Related Questions