Skip to content

Sub-word navigation doesn't work as expected in all-caps words or word parts #53680

@Xjs

Description

@Xjs

Issue Type: Bug

Navigate an all-caps word or a word with all-caps component.

Examples: REMOTE_PREFIX or GetWebhookURL.

I would expect navigation to stop here:

REMOTE_PREFIX
^------^-----^

GetWebhookURL
^--^------^--^

Instead, the cursor stops between each of the capitalised letters when using the cursorWordPartRight/cursorWordPartLeft shortcuts.

VS Code version: Code 1.25.0 (0f080e5, 2018-07-05T13:11:58.697Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E3-1225 v6 @ 3.30GHz (4 x 3312)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.89GB (6.50GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (15)
Extension Author (truncated) Version
gotemplate cas 0.2.0
bazel-code Dev 0.1.9
gitlens eam 8.4.1
python ms- 2018.6.0
Go ms- 0.6.84
angular2-inline nat 0.0.17
vetur oct 0.12.5
vscode-code-outline pat 0.2.1
java red 0.28.0
vscode-java-debug vsc 0.10.0
vscode-java-pack vsc 0.3.0
vscode-java-test vsc 0.7.0
vscode-maven vsc 0.9.0
markdown-all-in-one yzh 1.5.1
vscode-proto3 zxh 0.2.1

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable bugeditor-wordnavEditor word navigation issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions