-
-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Labels
Description
Hello,
Autocompletion on variables added by controller doesn't seems to work.
Eg, when I have the following controller :
/**
* @Route("/")
* @Template("AppBundle:search.html.twig")
*/
public function train(Request $request) {
$user = new User();
return [
'varOne' => 1,
'varTwo' => 2,
'varThree' => 3,
'user' => $user
];
}
I'm expecting having autocompletion in the search.html.twig file typing:
{{varCURSOR_HERE_AND_CTRL_SPACE**}}** or {{user.CURSOR_HERE_AND_CTRL_SPACE}}
Thanks,
Rémy
PhpStorm 10.0.1
Symfony2 plugin 0.11.104