sveltejs / language-tools

The Svelte Language Server, and official extensions which use it
MIT License
1.22k stars 196 forks source link

script emmet doesn't add lang='ts' #1585

Open niktek opened 2 years ago

niktek commented 2 years ago

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

Which package is the issue about?

Svelte for VS Code extension

Additional Information, eg. Screenshots

No response

jasonlyu123 commented 2 years ago

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.