Deleting whole line of closing tag leaves open tag in an incorrect state
VS 17.10.0 P3
Place caret on closing tag name and press Shift+Del:
https://github.com/dotnet/razor/assets/9047283/8430fd1f-792b-4545-a797-5e8e62098eda
Repro:
<div>
</div>
It doesn't happen if I manually select the whole line and delete it.
It doesn't happen in a pure HTML editor, only in Razor.
@Peter-Juhasz , can you log a VS Feedback ticket, potentially attaching the video you have already recorded, so we can most easily get it to the correct team?
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.
Please see our Issue Management Policies for more information.
I hate that stupid bot. I'll log an issue, don't sweat it.
Logged https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2030987 internally
Internally, a PR has been opened to fix this issue at the VS level.
PR has been merged. I expect the fix will be in the first preview of the next minor release.