Offline Symbol Table shows None after switching connections

159 views
Skip to first unread message

Lena Razov

unread,
Jul 2, 2021, 4:20:56 AM7/2/21
to Illuminated Cloud General Discussion
Hi Scott,

Just wanted to check that the following works as expected. 

That is if I switch a connection from con1 to con2 in IC2, the Offline Symbol Table in Modules and Connections gets set to None although an Offline Symbol Table for con2 exists which had been generated previously? 

Why the Offline Symbol Table does not get switched along with the connection if one exists? 

Is there a way to then repoint con2 connection to an existing offline table without actually rebuilding the table?

Thank you in advance
Lena

Scott Wells

unread,
Jul 2, 2021, 9:39:37 AM7/2/21
to Illuminated Cloud General Discussion, Lena Razov
Just so I understand, you've opened Illuminated Cloud>Configure Project, and in that dialog you've switched from the current connection, "con1", to another connection, "con2", and in that project you can see a file named "IlluminatedCloud/con2/OfflineSymbolTable.zip", but it's showing the Offline Symbol Table as "None"? Is that a correct understanding? If so, what version of the Illuminated Cloud do you have installed? It should immediately detect the existing OST file for the newly-selected connection and show it properly, or if there's not one, once you click OK it should prompt you to copy an existing one (if present) as a starting point or to generate a new one for the connection.

Regards,
Scott Wells

Lena Razov

unread,
Jul 4, 2021, 8:06:29 AM7/4/21
to Illuminated Cloud General Discussion, sc...@illuminatedcloud.com
I usually have one IC project where I switch between multiple salesforce instances. Below are the OSTs I currently have in IlluminatedCloud folder:

osts.jpg

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

step1.jpg

2. I then go Illuminated Cloud > Configure Project, change connection to 'GEMS lenar2' > Apply > OK 

step2.jpg

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

step3.jpg

step4.jpg

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?

step5.jpg

4. In Illuminated Cloud > Configure Project, the Offline Symbol Table shows as None

step6.jpg

The version of IC2 and WebStorm I am using
IC2-version.jpg WS-version.jpg

Hope the above helps. Thank you

Scott Wells

unread,
Jul 6, 2021, 10:02:15 AM7/6/21
to Illuminated Cloud General Discussion, Lena Razov, Scott Wells
I think I'm following both scenarios, and based on what you're describing, no, it doesn't sound like what I'd expect. Let's do this so I can understand it better. Please reproduce each scenario, but let's get some diagnostic information for each. I'll want the following for each reproduced scenario:
  1. The .iml file for the project BEFORE changing connections.
  2. The .iml file for the project AFTER changing connections.
  3. The idea.log* file(s) showing the activity for the timeframe of the full set of reproduction steps. You can get those using Help>Show Log in Explorer.
You can share all of that with me at sup...@illuminatedcloud.com. Once I get a chance to look at those, we'll see what other information might be required.

Regards,
Scott Wells
Reply all
Reply to author
Forward
0 new messages