Closed Nrde closed 3 years ago
Hard crash, can't type anything into editor after this, unless I cut the offending html snippet and then paste it between valid html tags. So the error occurs when changing a tag from div to span, and phpstorm replaces/tries to replace the opening and closing tag.
Hello, can you provide minimal example file with marked caret where error occurs? I'm not sure how to debug it without that
<div class="foo">{data.bar}</div>
when selecting the opening "div" and cleared it to be replaced with "span" the exception occurred. so it stayed like this:
< class="foo">{data.bar}</>
I have had some other similarish freezes occasionally, but didn't pay attention to them that much.
This also crashes it.
I wanted to replace this with a different html tag, and it crashed on the svelte file.
<><School school={school} /></>
Seems to be issue when it tries to parse an empty tag like that, and the best way to duplicate it is type in any valid tag, and then erase it before wanting to type anything else, and that causes this.
wanted to change from
<li><School school={school} /></li>
to
<div><School school={school} /></div>
Fix will be included in next release