Haehnchen / idea-php-shopware-plugin

Shopware Plugin for PhpStorm which extends Symfony Plugin
MIT License
53 stars 9 forks source link

Autocompletion for "seoUrl" twig function #119

Closed mbegerau closed 2 years ago

mbegerau commented 3 years ago

Please add route-type autocompletion to the first parameter of the "seoUrl" twig function from Shopware 6, just like the function "path" has.

I added manually a Method Reference to the Symfony Plugin configuration with these parameters:

CallTo: \Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension
Method: seoUrl
Index: 0
Provider: Route

This works inside php but not inside twig. Could you please add this feature? Or could someone explain to me, how I can set this up manually using the Symfony plugin configuration?

Thanks!

Haehnchen commented 2 years ago

added in latest release