language-tools
language-tools copied to clipboard
Template not treated as HTML in SFC in VSCode
Updating to latest official vue extension stopped vscode from treating the template section in Vue SFC as HTML. Example: auto completion of quotes after the equal sign stopped working.
Adding :test=
will not trigger automatic quotes insertion anymore. In common HTML files this works as expected.
I can't reproduce this. Could you please share a video?
screencast-bpconcjcammlapcogcnnelfmaeghhagj-2024.03.07-09_23_08.webm Yes, thanks.
In this video notice how in the previous version:
- The closing angle bracket on the opening
<Accordion>
tag triggered autocompletion for the closing</Accordion>
tag. - The attribute
hello=
triggered automatically adding the quotes. They are not inserted automatically anymore. It appears all behaviours defined for HTML in vscode stopped applying to the template section of SFC
Accordion
doesn't have correct highlight so it seemed that the plugin isn't loaded correctly.
Is there something actionable i can do to help?
Sorry I'm not sure how to deal with this part, we may wait for @johnsoncodehk's input
@gianLuigiL Any luck solving this?
@gianLuigiL Can you reproduce this problem with v2.0.12?
@gianLuigiL Can you reproduce this problem with v2.0.12?
Yes still stuck on the same behaviour. No auto closing tags and no auto closing quotes. I'm running 1.8.27 for now.