Symfony2 Twig Code Tips
HI All,
Thanks to the JetBrains guys for a great product!
I have a question about Symfony2 and Twig support. SHould I get code tips/popups for variable and functions in twig templates?
For example:
<a href="{{ path('BerenBundle_tree_show', {'id':comment.tree.id, 'phylum': comment.tree.phylum}) }}#comment-{{ comment.id }}">
{{ comment.tree.name }}
</a>
When I hit ctrl-space in the twig function I get "no suggestions" for the members of the comment object.
Should I see something? Here's a pic. I have 6.02 with latest build.
beren
请先登录再写评论。
Hi there,
AFAIK there is no variable completion implemented for twig files.
Few related tickets:
You can check the rest of twig tickets: http://youtrack.jetbrains.com/issues/WI?q=twig and feel free to submit new one if none matches your needs.
Thanks - I'll check out those tickets!