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', 'phylum': comment.tree.phylum}) }}#comment-{{ }}">
                    {{ }}
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.

Screen Shot 2013-05-18 at 7.34.17 AM.png

Comment actions Permalink

Hi there,

AFAIK there is no variable completion implemented for twig files.

Few related tickets:

You can check the rest of twig tickets:  and feel free to submit new one if none matches your needs.

Comment actions Permalink

Thanks - I'll check out those tickets!


Please sign in to leave a comment.