Open King2500 opened 6 years ago
Theoretically you could exclude classes for already defined services from the autocomplete list. (Not sure if that makes sense)
@stof what do you think?
technically, it could be fine to load a batch of services without autoconfiguring them (loading them without autowiring them is much harder, because it would require to have only services without dependencies).
I would not exclude classes already used (except in the same file, as YAML cannot have duplicate keys), as you might want to override a service.
(Couldn't find an existing issue for this..)
Since Symfony 3.3 the recommended id for services is their FQCN:
... or when
autoconfigure
is set, a namespace prefix:Ideally
_defaults
is included at above caret position for completion.