vscode icon indicating copy to clipboard operation
vscode copied to clipboard

macOS Text Replacement Auto Trigger

Open Ju-Long opened this issue 11 months ago • 0 comments

Type: Bug

i have a text replacement that replaces "u" with "you". when i enter the word "update". when any ASCII character is entered after "u", the whole text got replaced with "youo". when tab is pressed "youou" is displayed. when delete is pressed "you" is displayed. with arrow key pressed, the text replacement hint disappeared. after dismissing the text replacement, the text replacement does not occur. with any " or ' or ` pressed, it appends after the "youo" text.

suggested fix: some macOS application on menu bar have this "Edit > Substitutions > Show Substitutions > Text Replacement". visual studio code does not have. I believe this is default implementation from the macOS side.

VS Code version: Code - Insiders 1.97.0-insider (115baa15e7624f0709c1516441006c0f85017de9, 2025-01-14T22:23:46.739Z) OS version: Darwin arm64 24.2.0 Modes:

System Info
Item Value
CPUs Apple M1 (8 x 2400)
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 1, 2
Memory (System) 16.00GB (0.07GB free)
Process Argv --crash-reporter-id 189fcf1c-8eeb-45e4-8ff6-b5387346da4f
Screen Reader no
VM 0%
Extensions (44)
Extension Author (truncated) Version
better-comments aar 3.0.2
codesnap adp 1.3.4
flutter-snippets ale 3.0.0
astro-vscode ast 2.15.4
vscode-intelephense-client bme 1.12.6
vscode-tailwindcss bra 0.12.18
dart-code Dar 3.103.20250113
vscode-markdownlint Dav 0.58.1
vsc-material-theme Equ 34.7.9
vsc-material-theme-icons equ 3.8.12
prettier-vscode esb 11.0.0
vscode-expo-tools exp 1.5.1
auto-rename-tag for 0.1.10
copilot Git 1.257.1314
copilot-chat Git 0.24.2025011501
vscode-github-actions git 0.27.0
go gol 0.44.0
mark-vsce hen 0.8.2
beautify Hoo 1.5.0
gsap-snippets Hri 1.0.0
vscode-env Iro 0.1.0
rainbow-csv mec 3.14.0
vscode-mjml mjm 2.0.0
vscode-docker ms- 1.29.3
debugpy ms- 2024.14.0
isort ms- 2023.10.1
python ms- 2024.22.2
vscode-pylance ms- 2024.12.1
vscode-typescript-next ms- 5.8.20250114
vsliveshare ms- 1.0.5948
laravel-blade one 1.36.1
laravel5-snippets one 1.18.0
material-icon-theme PKi 5.17.0
tsimporter pmn 2.0.1
prisma Pri 6.2.1
datetime rid 2.2.2
markdown-preview-enhanced shd 0.8.15
vscode-blade-formatter shu 0.24.4
iconfont-preview stx 0.0.5
svelte-vscode sve 109.5.2
sass-indented syl 1.8.31
volar Vue 2.2.0
quokka-vscode Wal 1.0.688
html-css-class-completion Zig 1.20.0
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256197
vsc_aa:30263845
vscod805:30301674
vsaa593cf:30376535
py29gd2263:31024238
vscaat:30438846
c4g48928:30535728
962ge761:30841072
pythonnoceb:30776497
dsvsc014:30777825
dsvsc015:30821418
pythonmypyd1:30859725
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
pythonait:30973460
dvdeprecation:31040973
dwnewjupyter:31046869
nativerepl1:31134653
pythonrstrctxt:31093868
nativeloc1:31118317
cf971741:31144450
e80f6927:31120813
iacca1:31150324
notype1:31143044
dwcopilot:31158714
h409b430:31177054
5b1c1929:31184661
6074i472:31201624
dwoutputs:31217127

Ju-Long avatar Jan 15 '25 10:01 Ju-Long