Option to set default devhub and scratch org in SFDX on project creation

Issue #1413 new
Aidan Harding created an issue

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 (3)

  1. Scott Wells repo owner

    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.

  2. Scott Wells repo owner

    In (likely released tomorrow morning) IC will automatically set the default username when a connection is selected for a project.

  3. Log in to comment