Skip to content
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 on VSCode does not resolve for shorthands with multiple curly braces #127919

Open
MeCode4Food opened this issue Jul 3, 2021 · 4 comments
Open
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug confirmed Issue has been confirmed by VS Code Team member emmet Emmet related issues
Milestone

Comments

@MeCode4Food
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. Open any VSCode window
  2. In the editor, type div{{{test}}}, and press ctrl + space to see the list of autocomplete suggestions
  3. Autocomplete suggestions do not include the option to resolve emmet shorthand to <div>{{test}}</div>

image

Other emmet features work as expected

@rzhao271 rzhao271 added the emmet Emmet related issues label Jul 6, 2021
@rzhao271 rzhao271 added bug Issue identified by VS Code Team member as probable bug confirmed Issue has been confirmed by VS Code Team member labels Oct 5, 2021
@rzhao271 rzhao271 added this to the October 2021 milestone Oct 5, 2021
@rzhao271
Copy link
Contributor

rzhao271 commented Oct 6, 2021

Looks like we have to escape the braces before passing them over.

@MeCode4Food
Copy link
Author

Yes, apparently the way to do it is by escaping the closing braces, as answered in this stack overflow question: https://stackoverflow.com/questions/68235276/how-do-you-escape-curly-braces-in-emmet-in-vscode

@jrieken
Copy link
Member

jrieken commented Oct 26, 2021

Doesn't work with a html or tsx file. Reopening but I might be doing something wrong here 🤷

Screen Shot 2021-10-26 at 11 50 38

@rzhao271
Copy link
Contributor

I can reopen this issue.

@rzhao271 rzhao271 reopened this Oct 26, 2021
@rzhao271 rzhao271 modified the milestones: October 2021, Backlog Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug confirmed Issue has been confirmed by VS Code Team member emmet Emmet related issues
Projects
None yet
Development

No branches or pull requests

3 participants