yii2 phpstorm twig code completion

Hi,

is it possible to use code completion in phpstorm in twig templates? I tried adding:


{# @var model app\models\SomeModel #}

An then typeing {{ mod ctrl+space and all I get is "no suggestion"

Always when I type {{ ctrl+space I get again "no suggestion"

Only thing that works is using {% ctrl+space, then I teg some help results.

Thanks,

1 Like

Got this. I enabled Symfony module for my project and It works fine.