You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. The title might be a bit confusing, apologies for that.
When I type out a new opening tag, I expect a matching closing tag to be added. This does not happen.
In addition, when adding a tag inside of a tag of the same name (i.e. div inside of div), the only suggestion provided converts my new tag into a closing tag for the parent and I end up with
<div>
</div>
</div>
instead of
<div>
<div></div>
</div>
So far I've tried setting html formatter to none but that had no affect. I couldn't find any other relevant options.
Editing regular html files works quite differently - gif below.
Reproducible Case
Case 1
Inside of the template, type <div
Type the >
Expected: it should create <div></div> and put the cursor between the tags
Actual: suggestions disappear and nothing happens
Case 2: Nested divs
Create a div and put the cursor inside of it:
Add a new opening <div>
Expected: The top suggestion should be to create a new <div></div> pair
Actual: The only suggestion is to close the parent tag. Need to press escape to dismiss suggestions.
For comparison, this is how it works in an html file:
The text was updated successfully, but these errors were encountered:
Info
Problem
Hi. The title might be a bit confusing, apologies for that.
When I type out a new opening tag, I expect a matching closing tag to be added. This does not happen.
In addition, when adding a tag inside of a tag of the same name (i.e. div inside of div), the only suggestion provided converts my new tag into a closing tag for the parent and I end up with
instead of
So far I've tried setting html formatter to none but that had no affect. I couldn't find any other relevant options.
Editing regular html files works quite differently - gif below.
Reproducible Case
Case 1
<div
>
Expected: it should create
<div></div>
and put the cursor between the tagsActual: suggestions disappear and nothing happens
Case 2: Nested divs
<div>
Expected: The top suggestion should be to create a new
<div></div>
pairActual: The only suggestion is to close the parent tag. Need to press escape to dismiss suggestions.
For comparison, this is how it works in an html file:
The text was updated successfully, but these errors were encountered: