Haehnchen / idea-php-symfony2-plugin

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

[DIC] Configuration file names in "Navigate to definition" #2391

Open cierru opened 1 month ago

cierru commented 1 month ago

Problem

When clicking on "Navigate to definition", a hint with a list of service definitions in different configuration files appears, but all of them are simply named "service". Thus, it's extremely painful to search for the required definition, especially if there’s a DI container cache nearby, which also contains duplicates of existing service definitions.

1

Solution

Instead of "service", write the name of the file containing the service definition. Ideally, also include the name of the service, for example: sample.xml: example.service.name