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
The Tools menu is kind of out of sight, we could have a more "natural" way of adding dependencies. Maybe add an interface to the ctor parameters, hit Ctrl + . for a tooltip, then "Add dependency" which would take us to the current injection window with the interface pre-filled?
How is the corresponding using is handled?
If the appropriate using for that dependency is not added yet, then maybe it should only allow adding it as a dependency if there's a using available to be added (and it should be added as well, if there's only one - otherwise should be able to choose it).
Or simply we can just leave the using to the user the injection should happen without caring about the using.
Currently nothing is done on that matter, but the cursor will be placed on the injected type, so you can simply hit Ctrl + ., Enter to add the declaration afterwards.
The Tools menu is kind of out of sight, we could have a more "natural" way of adding dependencies. Maybe add an interface to the ctor parameters, hit Ctrl + . for a tooltip, then "Add dependency" which would take us to the current injection window with the interface pre-filled?
Jira issue
The text was updated successfully, but these errors were encountered: