I usually have one IC project where I switch between multiple salesforce instances. Below are the OSTs I currently have in IlluminatedCloud folder:
Below are two scenarios, the steps I take and the outcome:
Scenario #1 when changing connection in Illuminated Cloud > Configure Project
1. I start connected to 'GEMS lenar', the OST table is pointing to GEMS_lenar OST file, the Offline Symbol Table shows as Generated
2. I then go Illuminated Cloud > Configure Project, change connection to 'GEMS lenar2' > Apply > OK
3. When I reopen Illuminated Cloud > Configure Project, the Offline Symbol Table remains showing as Generated, however
4. The OST under External Libraries doesn't change and remains pointing to GEMS_lenar file - I would expect this to change to the existing GEMS_lenar2 OST file. Is my expectation incorrect?
Scenario #2 when changing connection in Illuminated Cloud Connections
1. I start connected to 'GEMS lenar', the OST table is pointing to GEMS_lenar OST file, the Offline Symbol Table shows as Generated (the same image applies as for the step 1 above)
2. I then change connection in the bottom right corner to 'GEMS lenar2' > Yes
3. The OST under External Libraries doesn't change and remains pointing to GEMS_lenar file - I would expect this to change to the existing GEMS_lenar2 OST file. Is my expectation incorrect?
4. In Illuminated Cloud > Configure Project, the Offline Symbol Table shows as None
The version of IC2 and WebStorm I am using
Hope the above helps. Thank you