-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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 falsely suggesting completion with hyphen in parent tag #32263
Comments
hi , i cannot use the emmet in .vue file after i updated the vccode today and i already has wirte "emmet.syntaxProfiles": { |
That's a valid bug, thanks @johnlindquist @zouhangwithsweet You need to use |
Thanks, its working now. But i cannot use |
@zouhangwithsweet You can use |
@sergeche The same problem occurs in the atom plugin as well. When providing Where as if the same without the hyphen is provided, then the extracted abbreviation is indeed I was able to narrow it down to https://github.com/emmetio/extract-abbreviation/blob/v0.1.2/lib/is-html.js#L122 where the definition of identifier is to contain either
How do you suggest we tackle this? |
@ramya-rao-a this test should also include |
Thanks @sergeche @johnlindquist Am curious, is it common to write html with tag names that have |
Yes, it’s very common, especially for Web Components |
Exploring on @sergeche: Yes, it is. When you obey to the standard, tags with a hyphen are the only tags that can be introduced custom. So when you want to create a new tag for your maintenance message and you want to give it unique properties, you would have to call it |
Fix is both in master and the release branch |
VS Code 1.15.1 is released and it has the fix to this issue |
The text was updated successfully, but these errors were encountered: