Open jannes-io opened 3 months ago
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.
$productRepository
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.
When I have the following class:
And I type some code in the test function like:
Instead of suggesting the already injected![image](https://github.com/Haehnchen/idea-php-symfony2-plugin/assets/9079379/cfce9e13-27f4-4954-a421-6b48bb4ac40d)
$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.