Hi,
The structure of my Salesforce project in Intellij is:
- one container Intellij project created as an "empty project"
- added one module per Salesforce org, that is connected to one Salesforce connection (dev, test, ..., production)
With this approach I can easily switch to DEV/TEST/PROD org/environment by just using the Load/Undload Modules... option in Intellij.
Once I need to develop something on DEV, I enable DEV module, if there is a need to check something on TEST, I additionally enable TEST module, and usually disable the DEV module to free some system resource (mostly RAM).
It usually worked just fine, but I recently noticed that, once I disable the module, the related Salesforce connection is no longer linked to it once I reenable module.
This required an additional effort to manually set the desired SF connection each time the module is re-enabled.
Can you please try to check what happens with module and SF connection once module is disabled?