Skip to content

[html] Path completion isn’t working with the srcset attribute #175807

@rsgranne

Description

@rsgranne

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:

  1. Use Emmet or manually type in the following tag: <img src="" srcset="">
  2. 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!
  3. 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.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhtmlHTML support issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions