-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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 does not work in js/jsx files for VS Code 1.62.2(Universal) #137012
Comments
I've noticed the same, commenting here to keep up with any updates. |
Emmet is an extension, so disabling the extensions wouldn't work. |
\gifPlease |
Basically emmet does not include the |
I found a fix! I could solve this by enabling "emmet.triggerExpansionOnTab": true I don't know why this setting has to be enabled for it to work, but it works! |
This regression is from the extension not activating in time for those file types. For example, if you manually expand an abbreviation with the command in the command palette, then the extension activates, and suggestions show up again. |
I am experiencing this issue after updating to version: 1.62.3 |
@preIdiot the fix by @rzhao271 is in 1.63, so either use Insiders or wait for the next release, due in early December. |
I tried "emmet.triggerExpansionOnTab": true on Windows though it couldn't help me ( |
So figured out the workaround. I opened a *.html file found Emmet working there. After heading back to javascript files they got the Emmet abbreviations working. I do not know why but it helps |
I switched to v1.61, everything is working fine on that. |
Verification steps:
"emmet.includeLanguages": {
"javascript": "javascriptreact"
}
Expected: Emmet should activate more readily now, meaning that suggestions should show up during the last step. |
Not working @rzhao271 emmet.not.working.mp4 |
@preIdiot your test seems to be done with Stable, so not 1.63 which is still Insiders. |
@preIdiot you have to use https://code.visualstudio.com/insiders/ |
Verified. You also need to make sure your file has set |
It worked for me |
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
pages/index.js
.div.test
in thediv
and press Tab.Notes:
I added the following code in settings.json and then restarted VS Code. The same issue occurs when I try to use Emmet.
The text was updated successfully, but these errors were encountered: