You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's bad for me as I know what I want to write and I have 5 suggestions that I don't need. It keeps adding services to my classes and it's annoying. I can't find a way to disable it atm, is there one?
The text was updated successfully, but these errors were encountered:
When I use auto-completion for $this->, the plug-in is adding non-existing class properties with top priority and, should I pick one, it changes or creates the class constructor to inject a new service. IMHO, this is wrong for several reasons:
It can break my app by introducing circular dependencies.
I don't want the IDE to make design decisions for me, let alone without telling me.
99% of the times I type $this-> what I want is to use existing class properties, not add new ones.
When you want to add new properties, the intuitive way is to add a new property directly to either the class or the constructor. Doing it from the location where you want to use and as part of auto-completion is a bit convoluted.
It's bad for me as I know what I want to write and I have 5 suggestions that I don't need. It keeps adding services to my classes and it's annoying. I can't find a way to disable it atm, is there one?
The text was updated successfully, but these errors were encountered: