Skip to content

Deleting a tab character using backspace doesn't work. #275754

@pamidorka

Description

@pamidorka

Type: Bug

If you set "Indent Using Spaces" to 2, set "Change Tab Display Size" to 8, and try to delete the tab character " " (\t) using the Backspace key, it won't be deleted. The character can be deleted using the Ctrl+Backspace shortcut, and the character can also be deleted by moving the cursor past the character and trying to delete it using the Delete key. This error also occurs in VS Code Insiders.

VS Code version: Code 1.105.1 (7d842fb, 2025-10-14T22:33:36.618Z)
OS version: Linux x64 6.14.0-35-generic snap
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i3-10100 CPU @ 3.60GHz (8 x 4100)
GPU Status 2d_canvas: unavailable_software
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
webnn: unavailable_software
Load (avg) 0, 0, 0
Memory (System) 14.70GB (7.81GB free)
Process Argv --no-sandbox --force-user-env --crash-reporter-id 28b63d51-ec08-48cf-aeaa-fcbddad47ab3
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
Extensions (12)
Extension Author (truncated) Version
save-typing akh 0.1.0
Bookmarks ale 13.5.0
go gol 0.50.0
vscode-clangd llv 0.2.0
bash-ide-vscode mad 1.43.0
git-graph mhu 1.30.0
python ms- 2025.16.0
makefile-tools ms- 0.12.17
reload nat 0.0.7
indent-rainbow ode 8.3.1
cmake twx 0.0.17
gitblame wad 11.2.0
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
g82h1919:31248006
jda6j935:31233686
copilothoveroff:31247698

Screencast.From.2025-11-06.14-19-44.mp4

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-autoindentEditor auto indentation issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions