-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emmet: svg abbreviations dont work #11333
Comments
This might be because the Other file types like But |
Unfortunately, we do not support SVG with Emmet. VS Code used Emmet v1.3.1 (see package.json#L19), but support for SVG in Emmet was added in version 1.4.0 (see emmet/6efa2234cd3a72a9bd1232fa79783a878d556107). More details on this issue: #9002 (comment). |
With #19655 we can now support svg abbreviations but only after mapping the current language mode to "svg" in We should investigate having |
Closing this issue as there is no sufficient interest from the community in getting this done. |
Update: We can now support svg abbreviations but only after mapping the current language mode to "svg" in
emmet.syntaxProfiles
setting.We should investigate having
svg
as an embedded language like we do forhtml
insidejsx
Testing #11139
Steps to Reproduce:
svg
file. Typegl
and hitTAB
As per the abbreviations in lib/snippets.json#L892,
gl
should have expanded to<glyph>
Instead, it expands to
<gl></gl>
Same result with other abbreviations for
svg
Similarly, if you associate any language with
svg
syntax profile, you cannot get any abbreviations expansion.The text was updated successfully, but these errors were encountered: