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
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.76.0 (Universal)
OS Version: macOS Ventura 13.2.1 / Darwin arm64 22.3.0
Steps to Reproduce:
Use Emmet or manually type in the following tag: <img src="" srcset="">
Position your cursor inside the "" for src & type a /. You can now use autocomplete to complete the path to the image you wish, e.g., /images/products/foo.jpg — perfect!
Position your cursor inside the "" for srcset & type a /. You cannot use autocomplete to easily enter in the path to the image you wish, e.g., /images/products/foo.webp. You have to manually type out the path. This is a problem. Autocomplete should work in both src AND in srcset.
The text was updated successfully, but these errors were encountered:
I am also having this issue - anyone figured out how to fix it?
Update: it wasn't working for me when I set each image in the srcset using 1x, 2x, 3x however when using 400w, 800w, 1200w it did work. Not sure what that means, but it's solved the problem for me! (If you can't tell, I'm a bit of a beginner :) )
hail2u
added a commit
to hail2u/hail2u.net
that referenced
this issue
Apr 7, 2023
Hello!
I have got the same issue. Wish I knew where the problem comes from, and how to fix it (if possible at all), cause it makes a bit of a nuisance.
aeschli
changed the title
Path completion isn’t working with the srcset attribute
[html] Path completion isn’t working with the srcset attribute
May 9, 2023
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
<img src="" srcset="">
""
forsrc
& type a/
. You can now use autocomplete to complete the path to the image you wish, e.g.,/images/products/foo.jpg
— perfect!""
forsrcset
& type a/
. You cannot use autocomplete to easily enter in the path to the image you wish, e.g.,/images/products/foo.webp
. You have to manually type out the path. This is a problem. Autocomplete should work in bothsrc
AND insrcset
.The text was updated successfully, but these errors were encountered: