Haehnchen / idea-php-symfony2-plugin

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

Dynamically added Routes not recognized #1684

Closed anvaya closed 2 years ago

anvaya commented 3 years ago

Hi,

When using bundles like Sonata Admin that create routes dynamically, PHPStorm won't recognize a valid route and flag it as an invalid route.

phpstorm_symfony_route_issue

Haehnchen commented 2 years ago

if you project follows support file structure, is possible now detected. if not you need to provide a compiled container file:

image