Skip to content

Word navigation via the keyboard is unreliable with editor.editContext enabled #257792

@Neurrone

Description

@Neurrone

Type: Bug

This doesn't happen in 1.102.2 stable even with the editor.editContext setting enabled but is happening in the insider build, version info below.

I have the screen reader accessibility setting enabled and am using this with NVDA, in case this matters.

  1. Have the following text in a blank file: export const removeFirstH1
  2. Move the cursor to the start of the second word, "c"
  3. Press ctrl+right to move the cursor to the start of the next word.
  4. Immediately after pressing ctrl+right, press the right arrow key

Expected: the cursor is at the letter "e"

Actual: it is as if there is "lag" if I press the right arrow too quickly after ctrl+right - instead of going to the second letter of the last word, my cursor is placed back on "o", the second character of the middle word.

If you wait for a second between steps 3 and 4, this problem doesn't occur. However, given how rapidly I use the keyboard for navigation, this problem happens often enough to be incredibly impactful, because I keep on ending up at places where I don't expect to.

VS Code version: Code - Insiders 1.103.0-insider (3b2551c, 2025-07-18T05:03:37.281Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2

System Info
Item Value
CPUs AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics (16 x 3294)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 55.72GB (33.70GB free)
Process Argv --folder-uri=vscode-remote://wsl+ubuntu/home/dickson/source/quartz --remote=wsl+ubuntu
Screen Reader yes
VM 40%
Item Value
Remote WSL: ubuntu
OS Linux x64 6.6.87.2-microsoft-standard-WSL2
CPUs AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics (16 x 0)
Memory (System) 27.27GB (24.50GB free)
VM 0%
Extensions (24)
Extension Author (truncated) Version
astro-vscode ast 2.15.4
mermaid-markdown-syntax-highlighting bpr 1.7.4
vscode-eslint dba 3.0.10
dendron den 0.124.0
dendron-paste-image den 1.1.3
prettier-vscode esb 11.0.0
copilot-chat Git 0.29.2025070903
vscode-pull-request-github Git 0.114.3
markdown-preview-showdown jhu 1.4.4
debugpy ms- 2025.10.0
python ms- 2025.10.1
vscode-pylance ms- 2025.7.1
vscode-python-envs ms- 1.0.0
rust-analyzer rus 0.4.2551
vscode-mermaid-preview vst 2.1.2
mermaid-markdown-syntax-highlighting bpr 1.7.4
remote-containers ms- 0.424.0
remote-ssh ms- 0.120.0
remote-ssh-edit ms- 0.87.0
remote-wsl ms- 0.99.0
vscode-remote-extensionpack ms- 0.26.0
remote-explorer ms- 0.5.0
remote-server ms- 1.5.2
nvda-indent-nav-accessibility Ton 1.0.0

Metadata

Metadata

Assignees

Labels

accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issueseditor-edit-context

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions