idea-php-symfony2-plugin
idea-php-symfony2-plugin copied to clipboard
Auto-injecting service in constructor is too high priority
When I have the following class:
class Test
{
public function __construct(private readonly EntityRepository $productRepository)
{
}
public function test()
{
}
}
And I type some code in the test function like:
$this->produ
Instead of suggesting the already injected $productRepository, it is recommending me other services first and then the already injected service.
Expected behavior: Always favor already injected services in code autocomplete over service suggestions.
yeah, they are already highly downvoted. will try to fine tune it.