To turn on visual indicators of whitespace in Visual Studio, use the keyboard chord (Ctrl-R, Ctrl-W) (setting found in Tools > Environment > Options):
Instead of nothing:
You can now see:
By default, when I set the insertion point on line 12 and hit Enter, Visual Studio inserted spaces instead of tabs:
To turn this off, change the setting to Keep Tabs in Tools > Options > Text Editor > All Languages > Tabs:
You can also do Edit > Advanced > Tabify Selected Lines.
Now I won’t commit ugly spaces. And a reminder to review Sara Ford’s blog more often.
Thank you so much. Its helped me lot. I did Ctrl+R and Ctrl+W
Thank you for this info, made it really easy to turn off tabs!
Thank You Very much its realy help me
Excellent, this was really starting to annot me