In twig file "for " text is rendered as twig construction
Hi all,
Using PhpStorm 2016.3.2 editing twig file with text like
- I enter some text for
with entering whitespace aftrer "for" I get text automatically rendered as :
- I enter some text {% for in %}
- {% endfor %}
I mean "for " text is rendered as twig construction , but it is not inside of {%%} block?
If there is way to make it work correctly?
Thanks!
Please sign in to leave a comment.
Hi there,
Sounds like Live Template in action .. that setup to expand on Space. Find it in "Settings/Preferences | Editor | Live Templates" and svhange expand key to something else (e.g. Enter or Tab)