Skip to content

Quick action to replace the dependency injection argument #409

Closed
@DmitryFurs

Description

@DmitryFurs

Is your feature request related to a problem? Please describe.

It seems to me that it would be convenient to implement the ability to quickly replace the injection argument. This will speed up the replacement of dependencies and reduce the amount of file creation routine di.xml, copying class names, and so on.

Describe the solution you'd like (*)

The most convenient place to add this quick action is to right-click on the constructor argument. After that, at the very bottom of the drop-down menu, you can add the item "Replace argument" (or something other). After that, a dialog box will appear with a suggestion to select the module in the context of which the di.xml will be created/modified and area selection, there should also be fields for entering the type and value of the replaced argument.

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions