microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.99k stars 29.19k forks source link

Complete from suggest voids following characters #204808

Open AnrDaemon opened 8 months ago

AnrDaemon commented 8 months ago

Type: Bug

The #198793 become more and more frequent in my daily work. More often in HTML files, but it started to creep into other type of code.

I've assembled an example workspace to reproduce the issue.

After a number of attempts, I've managed to reproduce it in VS Code without extensions, using only textual suggestions, as hinted by @ecmel in https://github.com/ecmel/vscode-html-css/issues/278#issuecomment-1913575894

VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-3550 CPU @ 3.30GHz (4 x 3303)| |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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.96GB (8.07GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
vscodenpa commented 8 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

vscodenpa commented 8 months ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

jrieken commented 8 months ago

After a number of attempts, I've managed to reproduce it in VS Code without extensions,

How? Please share the exact steps

AnrDaemon commented 8 months ago

https://github.com/ecmel/vscode-html-css/issues/278#issuecomment-1913575894

Exact steps. With video. And confirmation that's not only me observing this issue.

There's obviously some kind of a race, because if you do it REAL SLOW, the issue is hard to reproduce.

jrieken commented 8 months ago

Sorry, I don't know what ecmel is about but it doesn't seem like "just vscode without extensions", so please provide a steps here and a simple copy-paste friendly code sample

AnrDaemon commented 8 months ago

There's no copy-paste friendly code sample, thus the example archive. The smaller the sample, the harder it is to trigger condition. But with a HTML file of 2k lines, it's nearly always happens. Just extract the archive, open in the Insiders build and repeat the steps in the video

https://github.com/ecmel/vscode-html-css/assets/6532485/dea9cbd2-afb7-4dc2-8f7a-28e5af0ed499

vscode-html-css#278.tar.gz

ecmel commented 8 months ago

Please check: https://github.com/microsoft/vscode/issues/198793

vscodenpa commented 6 months ago

Hey @jrieken, this issue might need further attention.

@AnrDaemon, you can help us out by closing this issue if the problem no longer exists, or adding more information.

AnrDaemon commented 6 months ago

It become more severe in the latest versions of VS Code. So, awaiting the fix. Eagerly.

vs-code-engineering[bot] commented 3 months ago

Hey @jrieken, this issue might need further attention.

@AnrDaemon, you can help us out by closing this issue if the problem no longer exists, or adding more information.

AnrDaemon commented 3 months ago

It more than exists, it is easily the most encountered issue in daily work with HTML.

AnrDaemon commented 1 month ago

It is suggested that the behavior could be related to editor.quickSuggestions option. However, it shows as "modified elsewhere" in my instance of VS Code in both User and Workspace configurations, and there's no mention of it in any of the respective JSON files either.

AnrDaemon commented 1 month ago

(And yes, the bug is still very annoying in 1.93.)

AnrDaemon commented 1 month ago

Any news? Every completion of a class name in HTML is a pain.

jonnomk commented 3 weeks ago

This happens to me every day. Searching for a solution.