Haehnchen / idea-php-symfony2-plugin

IntelliJ IDEA / PhpStorm Symfony Plugin
https://plugins.jetbrains.com/plugin/7219
MIT License
911 stars 137 forks source link

Issues with #[Template()] annotation and autocompletion #2261

Open HWesterhof opened 9 months ago

HWesterhof commented 9 months ago

Since I migrated to the built in #[Template()] annotation of Symfony 6, the autocompletion stopped working.

use Symfony\Bridge\Twig\Attribute\Template;

Without using the Template() annotation: image

Also, a link from the template back to the controller: image

Using the Template() annotation (no pop-up) image

No link back to the controller:

image

Haehnchen commented 4 months ago

thx, somehow i missed the class class api change