Org Picker - quick option to unset the default org #6453
AndrewStopchenko-SO
started this conversation in
Ideas
Replies: 2 comments
|
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming session. We prioritize feature requests with more upvotes and comments. |
0 replies
|
This issue has been linked to a new work item: W-19178142 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
Org Picker currently supports the following operations (which then updates the
target-orgconfig option):Here, options 1-3 will eventually set the
target-orgfor current DX Project. But, there is no way to "deselect" the org after selecting one - from that point, we can only switch to a different org option.It would be nice to have another option that allows unsetting the
default-org- for example, to prevent deploying something to that org.Possible use case: keep a DX Project folder to review any org changes against the Git branch; sometimes developer should select the org to retrieve-only the sources, but would like to keep the folder with unset default org - not to deploy something mistakenly. Currently selecting the org is possible via the Org Picker UI, but to deselect, developer has to use the
sf config unset target-orgSF CLI command.Describe the solution you'd like
Include new "+ SFDX: Unset Default Org" option to the Org Picker.
Describe alternatives you've considered
Using SF CLI commands to deselect the
target-orgconfig property.Additional context
Salesforce Extension Pack: v64.5.1
SF CLI version: @salesforce/cli/2.98.6 wsl-x64 node-v20.18.3
VSCode Version: 1.103.0-insider (user setup)
OS: Windows_NT x64 10.0.19045
SF CLI details:
All reactions