Smarty syntax highlight bug
Hello,
this has been happening to me for a while now, see this syntax from smarty template

happens randomly, fast fix for whole file is always CTRL+A -> CTRL+X -> CTRL+V. It's somehow "re-highlighted", also editing some html tag will "re-highlight" it, but only some part (close to the editing tag), for example I added space after first closing DIV tag and a couple of lines below the closing tag are fixed, on line 200 and more the syntax is broken again.

has anyone had the same problem?
PhpStorm 2022.3.3 - Build #PS-223.8836.42, built on March 10, 2023
but the version is irrelevant (I updated phpstorm many times in past), I have this issue for over 2 years but today I found spare time to write this.
Thanks!
Please sign in to leave a comment.
After a quick search, I was not able to find any similar reports on YouTrack.
As it happens intermittently, the Caches Invalidation procedure may help.
https://www.jetbrains.com/help/phpstorm/invalidate-caches.html
Could you please try it?
Also, does it happen for all files or some specific files are affected only? Would it be possible to share one of these files then?