Skip to content

Backspace dedents instead of deleting character #10123

@masaeedu

Description

@masaeedu
  • VSCode Version: 1.3.1
  • OS Version: Win 8.1

Steps to Reproduce:

  1. Enable indentation using spaces
  2. Press tab to insert indentation
  3. Hit backspace

Actual result:
An number of spaces equivalent to your indentation size gets deleted

Expected result:
One space gets deleted

We already have shortcuts for deleting entire lines and dedenting by a single unit of indentation. Magic behavior that hijacks the backspace key is one of the reasons I switched over from Atom. Currently there is no key for simply deleting one space, and I believe backspace is a sensible default for this (this is also how Visual Studio behaves by default).

Metadata

Metadata

Assignees

Labels

*questionIssue represents a question, should be posted to StackOverflow (VS Code)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions