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

"Dotnet Restore All Projects" Command #6184

Closed
claytonweaver opened this issue Aug 21, 2023 · 4 comments
Closed

"Dotnet Restore All Projects" Command #6184

claytonweaver opened this issue Aug 21, 2023 · 4 comments

Comments

@claytonweaver
Copy link

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

No.

Describe the solution you would like

I would like to be able to simply restore all projects from the command palette instead of having to set a keyboard shortcut, since I have too many of those.

Applicable Scenarios

Anytime you want to do a dotnet restore but don't want to use the CLI.

Describe alternatives you've considered

Automatic dotnet restore so I don't have to call it at all?

Additional context

image

@claytonweaver
Copy link
Author

If someone could give me some simple guidance on how I could add this, I would love to contribute myself.

@dibarbet
Copy link
Member

This is also tracked by #5725

I haven't had a chance yet to design how we want to tackle nuget restore in the new version - tagging at @jasonmalinowski in case he's planned it out.

For reference, O# implements these:

  1. A dotnet.restore.all command
  2. A dotnet.restore.project command
  3. Auto-restore on the server side if it detects missing dependencies - https://github.com/OmniSharp/omnisharp-roslyn/blob/master/src/OmniSharp.MSBuild/PackageDependencyChecker.cs#L46

The first two commands require integration with the server side to figure out what projects to restore.

All that to say I don't I have simple guidance yet since we haven't fully designed it, but I'll let @jasonmalinowski chime in as well.

@jasonmalinowski
Copy link
Member

I don't think I'd have any specific guidance here -- the Omnisharp commands seem reasonable in terms of naming/concept, so should we just reimplement them?

@JoeRobich
Copy link
Member

implemented in #6603

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants