-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected {/foreach}, expected {/=} #189
Comments
@mitsh Try use next. Maybe it can be used as workaround.
And then I think of: Don't you have a custom tag settings somewhere |
Fixed in v1.1.5 |
This error is still occurring for PhpStorm 2022.2 Windows, Plugin version 1.1.5
|
@xpavp03 try Pro plugin: https://plugins.jetbrains.com/plugin/19661-latte-pro, here is migration guide from free plugin: https://mesour-intellij-plugins.github.io/latte.html#migration Free plugin has a problem because it loads tags from XML and it is not possible in the parser (It is not possible for the parsing of one file to depend on the parsing of another, PhpStorm has async parsing.). I tried to fix it and it just caused the problem you describe. In the Pro plugin, it's all handled differently. I don't have time now, but in the future I will fix it in the Free plugin by removing the XML configuration. XML configuration will be only in Pro plugin. |
Describe the bug
the plugin show an error for every last latte tag.
Environment (please complete the following information):
To Reproduce
Steps to reproduce the behavior (or attach video):
Code
The text was updated successfully, but these errors were encountered: