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 [...]