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 https://youtrack.jetbrains.com/issue/WI-29492

 

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.

0

Please sign in to leave a comment.