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
If the service is defined in XML and not in YAML then the auto-completion works out-of-the-box without the need to use the @var annotation.
You can try this sample definition that will provide you with autocomplete when you want to use one of the defined services.
)