I have installed the Symfony2 plugin for Phpstorm but I can\'t get the IDE to see these existing services or other injected objects. Can these be fixed somehow, so the warnings
Finally, thanks to the @googol help, I've figured out a way to specify services definitions files in custom paths with a YML format:
You only have to create or modify the .idea/symfony2.xml
file including the following tag:
xml
You'll have to restart the PhpStorm and that's it! :)
Here you have my complete symfony2.xml
file as an example:
xml
And here you have a feature request in order to include the possibility to add this custom path service definition through the plugin UI settings instead of having to edit the config file manually: https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/573