language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

script emmet doesn't add lang='ts'

Open niktek opened this issue 1 year ago • 1 comments

Describe the bug

In settings with: image

typing script and tabbing for completion doesn't insert the lang='ts'

Reproduction

type script at the top of a .svelte file and press tab to complete the tag

Expected behaviour

if the setting is enabled to default to ts that new script tags should include the lang='ts' attribute

System Info

  • OS: [e.g. macOS]
  • IDE: [e.g. VSCode]

Which package is the issue about?

Svelte for VS Code extension

Additional Information, eg. Screenshots

No response

niktek avatar Aug 13 '22 03:08 niktek

This config is not for emmet completion. It is for the script tag added with auto import. Let's see if we could make it more clear or if we can also add the lang to the emmet completion.

jasonlyu123 avatar Aug 13 '22 03:08 jasonlyu123