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

Problem with route autocompletion

Open devbysb opened this issue 4 years ago • 1 comments

Hi,

I have a problem with route autocompletion when I try on twig {{ path() }} or on a controller. The route doesn't appear because I think the plugin don't read the name_prefix on config/routes/annotations.yaml Or appear but without the prefix.

admin_controllers: resource: ../../src/Controller/Admin type: annotation host: 'admin.domain.com' name_prefix: app_admin_

devbysb avatar Sep 06 '21 13:09 devbysb

plugin don't read the name_prefix

right thats right. only the annotations are supported right now

https://symfony.com/blog/new-in-symfony-4-1-prefix-imported-route-names

Haehnchen avatar May 04 '22 17:05 Haehnchen