I'm using PHPStorm 8.1 as IDE in a php project (laravel 4.1 project with twig on view side)
Will be great to have an autocomplete hint on vars on "twig side" like you can see here on this phpstorm plugin for symfony2:
http://symfony2-plugin.espend.de/languages/twig/index.html#phptypes
Basically in my twig view I declare the var "type" using a comment, then I would see hints on my model (farmaco):
{# farmaco \Farmaco #}
{% farmaco. %} <-- I would see hints -->
Note: I'm not using Symfony, however I've the symfony plugin installed but the autocomplete doesn't work for me on twig files for my laravel project.
html
ortwig
extension?template.html.twig
, however the problem maybe the namspace, in L4 it's not explicit inside classes but handled by composer / autoload classmap ..