PHPStorm does not recognize smarty closing tags correctly

Instead of marking the closing /block, it marks the closing /if. This makes it even harder to work with messy smarty templates.

1 comment
Comment actions Permalink

Thank you for the report.

In fact, it looks pretty similar to


If there are no tags like {s} or {t} inside of {if}{/if}, things are working fine.

I will add these examples to the mentioned YouTrack issue.


Please sign in to leave a comment.