Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More direct way of adding dependencies (VSIX-50) #1

Open
Piedone opened this issue May 25, 2016 · 2 comments
Open

More direct way of adding dependencies (VSIX-50) #1

Piedone opened this issue May 25, 2016 · 2 comments

Comments

@Piedone
Copy link
Member

Piedone commented May 25, 2016

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

@BenedekFarkas
Copy link
Member

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.

@Piedone
Copy link
Member Author

Piedone commented May 26, 2016

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.

LombiqBot pushed a commit that referenced this issue Mar 12, 2017
@github-actions github-actions bot changed the title More direct way of adding dependencies More direct way of adding dependencies (VSIX-50) Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants