Refresh from server

25 views
Skip to first unread message

Jason Hardy

unread,
Jan 15, 2025, 12:34:32 PMJan 15
to Illuminated Cloud General Discussion
Hello, since I upgraded to the latest version of IC2, I have noticed that there's one piece that's missing. I am no longer able to refresh from the server directly. Previously, I was able to right-click on a file in the project area or the file itself in the editor and hover over "Illuminated Cloud" then click on "Refresh From Server" (I may have the name wrong but I used the shortcut which was ctrl+shift+alt+R) and it would pull the specific file or folder that I initiated it upon. That option is gone, I have tried using ctrl+shift+alt+R and it no longer does the same thing. I've tried "Pull Metadata," but that doesn't work either. I'm forced to work in a sandbox with other devs due to the nature of a managed package that we have to develop with (we have limited environments that we can connect the package into, and there are record-level configs as well that make it very difficult to use a normal dev sandbox or scratch org). This feature was key to ensuring that I didn't step on anyone's toes (I can use the check metadata, but it adds a ton of time to saves). For now, I'm using the compare with server instead, but tbh I have to do extra work to use that option. 

I have hunted around and can't find the menu option in the plugin settings. Is there a way to get this particular functionary back? 

Scott Wells

unread,
Jan 15, 2025, 12:55:21 PMJan 15
to Illuminated Cloud General Discussion, Jason Hardy
Hi, Jason. Nothing has changed around metadata deployment/retrieval/etc. in a while, so my guess is that your project is configured in a way that the desired action is not available.

If you see a Pull Metadata action and you're working against a sandbox, it sounds like you have likely enabled the Use source tracking instead of deploy/retrieve/delete option for the sandbox connection. You can confirm that by opening Illuminated Cloud | Configure Application and looking at your connection options, e.g.:

useAlternateBehavior.png

If you don't see that option for your connection, or if that option is present but disabled, please let me know. Otherwise you can disable that option to have the original non-source-tracked metadata deployment/retrieval/removal actions available. Since you're working in a shared sandbox, you will of course also want to enable conflict detection. If you use source-tracking, conflict detection is automatically enabled (by default) via the Salesforce CLI that is used for source-tracked deployment/retrieval actions.

You can learn more about all of these connection options in this user guide topic, by the way:


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