You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed since the 1.31.0 update some interaction with one of my extensions has made the suggestions popup slow to update (if I disable all extensions, it is not slow, but I have not figured out which extension or combination is causing the slowness).
However, with the slowness to update, it has exposed an underlying issue:
When I press a commit character, it commits whatever suggestion is currently at the top. It does not wait for the suggestions to update with the text I've typed, so it can cause lots of good text to be discarded in favor of an obsolete suggestion.
For example, typing up a bunch of mocha tests using chancejs, I'm seeing:
context(' ⇒ console('
chance. ⇒ chai.
chance.date( ⇒ chance.d10(
And so on. Others are even worse, but these are simple and easy to make sense of without tons of context from my code.
VS Code version: Code 1.31.0 (7c66f58, 2019-02-06T08:51:24.856Z)
OS version: Linux x64 4.19.0-1-amd64
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2519)
Disabling the editor.acceptSuggestionOnCommitCharacter partially works around this. I say partial because:
It removes a useful feature instead of fixing it
The <enter> key seems to not be affected by that setting, so the bug still sometimes impacts me even with that setting disabled, as I can sometimes type half a dozen or more characters, before the suggestions update (the suggestion lag is bad and I can type pretty fast).
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Issue Type: Bug
I've noticed since the 1.31.0 update some interaction with one of my extensions has made the suggestions popup slow to update (if I disable all extensions, it is not slow, but I have not figured out which extension or combination is causing the slowness).
However, with the slowness to update, it has exposed an underlying issue:
When I press a commit character, it commits whatever suggestion is currently at the top. It does not wait for the suggestions to update with the text I've typed, so it can cause lots of good text to be discarded in favor of an obsolete suggestion.
For example, typing up a bunch of mocha tests using chancejs, I'm seeing:
context('
⇒console('
chance.
⇒chai.
chance.date(
⇒chance.d10(
And so on. Others are even worse, but these are simple and easy to make sense of without tons of context from my code.
VS Code version: Code 1.31.0 (7c66f58, 2019-02-06T08:51:24.856Z)
OS version: Linux x64 4.19.0-1-amd64
System Info
checker_imaging: disabled_off
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: disabled_software
surface_synchronization: enabled_on
video_decode: unavailable_off
webgl: enabled
webgl2: enabled
Extensions (17)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: