Making the Backspace Key Delete a Tab instead of a Space

Posted Friday, April 28, 2006 10:47 AM by C-Dog's .NET Tip of the Day

One of the little things that they changed in VS2005 by default that has always annoyed me is the way the backspace key works. When you use tab to move a line of code over and decide you went to far, in VS2003, if you hit delete, it will go back a tab. In Visual Studio 2005, it will just delete a single space.

Luckily this is easy enough to fix. Simply open options, and expand Text Editor -> C# (Basic for Marcus) -> Tabs. In the Tab group change from Insert Spaces to Keep tabs.

Keep Tabs

This will make it tab backwards when you hit delete instead of just deleting a single space.

Read the complete post at