Option to set default devhub
Changing the title to reflect the remaining work.
ORIGINAL DESCRIPTION
Illuminated Cloud gives me great options for getting things done in SFDX without having to use the command line. But, I still do use the command line for some things (e.g. Unlocked Packaging).
I am now in the habit of using
sfdx force:config:set defaultusername=MyScratchOrg
sfdx force:config:set defaultdevhubusername=MyDevHub
…in every project so that I don’t have to specify those two in my command-line work.
Since Illuminated Cloud knows both of these things, could we have an option to get it to write them to .sfdx/sfdx-config.json on project creation?
Comments (4)
-
repo owner -
repo owner In 2.1.4.0 (likely released tomorrow morning) IC will automatically set the default username when a connection is selected for a project.
-
repo owner The default username portion has been delivered in 2.1.4.0.
-
repo owner - edited description
- changed title to Option to set default devhub
- removed version
- Log in to comment
That seems like a reasonable request. I'll be addressing some SFDX-related things in conjunction with the Winter '20 updates. I'll take a look at this then if it fits with that work.