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

Make changing default version of VS explicit #5

Closed
BretJohnson opened this issue Feb 18, 2020 · 1 comment
Closed

Make changing default version of VS explicit #5

BretJohnson opened this issue Feb 18, 2020 · 1 comment

Comments

@BretJohnson
Copy link

BretJohnson commented Feb 18, 2020

From Slack comment:

Also, I think I'd prefer if the default didn't change when running an alternate version.
That way, one can have a default version of VS used for most solutions (e.g. stable) and switch to an alternate version on an exception basis, w/o changing the default.
To achieve that, you could have say a --setDefault option, along with the others, that updates the default when VS is launched.
Also, optionally - this is more of a nice to have I think - you could store the default in the registry as the default program associated with .sln files.
That way, the command line and File Explorer are in sync with the "default" version of VS, reading/writing the same setting.

As vswhere uses mixed case for option names (-requiresAny) could stick with that convention for --setDefault. And say have a --clearDefault option to remove the default. Or go with the mono.options convention of default+ and default- to turn it on/off.

Back this issue
Back this issue

@kzu
Copy link
Member

kzu commented Feb 18, 2020

I like --default+ and --default- 👍

@kzu kzu closed this as completed in 7d88c87 Feb 22, 2020
@devlooped devlooped locked and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants