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 doesn't work properly #716
Comments
I can't reproduce this with and without vscodevim — emmet completions appear normally in both. See also #692 Can you disable all extensions but Volar and Vscodevim then try Emmet in a |
This may be related to your VSCode settings. Could you backup and completely clear your VSCode settings and try again? You can use |
I just tried github.dev in incognito window with a freshly created Github account and the problem is still there. So it seems to me not the problem with settings or extensions. |
We only support syntax highlight in web IDE for now, please track #612. |
@aantipov I had the same problem just now, but it somehow solved itself when I downgraded one version, then upgraded back to the newest. Removing and reinstalling would probably have the same effect. No idea what the issue was tho, as it worked before the weekend, and when I came back today it didn't. |
@geirmarius Can you always reproduce it based on some steps? |
Not sure what I can do to reproduce it sorry. Seems whatever I try it works now. |
I tried delete tsconfig.json in https://github.com/johnsoncodehk/volar-starter to make @aantipov did you also tried clear your settings? |
Ok, it works in Volar starter. If you clone my repo https://github.com/aantipov/moiva, then you most probably will notice the same:
If you clone https://github.com/vuejs/blog, then Emmet won't work under Hope that helps |
@aantipov thanks for your repro case, this is expected behavior consistent with TS, you need to add |
Didn't know that tsconfig could affect the way emmet works. |
Still dosen't work for me, turn off Vetur and turn on Volar, Emmet goes away, turn off Volar and turn on Vetur, and Emmet is back. |
This is a wrong conclusion. I will give the real solution in next comment. And as you see, you miss the solution because you missed the update. |
Solution
OR
"emmet.includeLanguages": {
"vue": "html"
}, |
In raw html files typing abbreviations invokes emmet suggestions and live-preview:
In
<template>
section of Vue file there is not emmet suggestions nor live-preview:I believe such "non-full" support of emmet is the cause of emmet not working properly together with VSCodeVim extension.
Whenever an abbreviation is expanded, VSCodeVim goes into "Normal" mode => the following typing doesn't work as expected
The text was updated successfully, but these errors were encountered: