idea-php-symfony2-plugin icon indicating copy to clipboard operation
idea-php-symfony2-plugin copied to clipboard

Issues with #[Template()] annotation and autocompletion

Open HWesterhof opened this issue 2 years ago • 1 comments

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

  • PhpStorm version: PhpStorm 2023.2.4 (Build #PS-232.10227.13, built on November 18, 2023)
  • Symfony support version 2022.1.261
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

HWesterhof avatar Dec 04 '23 08:12 HWesterhof

thx, somehow i missed the class class api change

Haehnchen avatar Apr 17 '24 17:04 Haehnchen