Skip to content

Many spurious user mentions inserted in text #3257

Closed
@pokey

Description

Issue Type: Bug

When editing a new GitHub issue from within VSCode, I'll get lots of spurious insertions of user names as I type, meaning I'm often cleaning up after this extension. Here is an example:

ezgif com-gif-maker

Notice how I'm just typing normally, no @ or <tab>, but a random name comes out of nowhere. In case helpful, I did it again, this time slowing down long enough for the pop-up to appear:

ezgif com-gif-maker (1)

I believe the issue is that the suggestions are quite lenient, and hitting <space> accepts the completion. A couple solutions I could think of:

  • Only make suggestions if the token starts with @ (or if not desired to have this be default behaviour, at least adding a setting where I can force this)
  • Have a setting to disable <space> to accept suggestion

Extension version: 0.34.3
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:37:28.172Z)
OS version: Darwin x64 21.2.0
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 32.00GB (0.02GB free)
Process Argv --crash-reporter-id 99d35f96-61a9-461b-a60d-f915d32f3eee
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30384386
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vscop804cf:30404767
vscop453:30404998
vsrem710cf:30416617
vsccppwtstudy:30421978

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions