I need help getting PhpStorm to correctly navigate to my twig files. E.g, in my controller, I have:
return $this->render('user/schedule.html.twig');
If I hit command and click on the user/schedule.html.twig, it SUPPOSED to take me directly to my file (living in the project root under templates/user/schedule.html.twig). However, instead PhpStorm says:
Cannot find declaration to go to
I believe this needs to be configured in the Symfony Twig plugin, under "Preferences -> Lang & Frameworks -> Symfony -> Twig/Template", but I cannot seem to find the right setup to make this work. Any advice please?