Open mrleblanc101 opened 2 years ago
In fact the native VS Code HTML autoclosing behavior does not work inside Twig file at all. Not sure if it's related with the extension.
In a HTML file: <div>
expands to <div></div>
In a Twig file with this extension: <
expands to <>
but does not open a closing tag even after you finish typing div
and type a second >
which is skipped and move the focus outside the tag.
In a Twig file with Twig Language 2
or Twig Language Support
: <div>
is not expanded at all.
@mrleblanc101 did you find a solution?
No
If I type
<
it get autocompleted to<>
with the cursor in the middle. This does not match the behavior inside HTML file. This can conflict with other VS Code extension like autoclose HTML. I think this plugin should only provide Twig specific language feature.