Not sure if this is a bug with Illuminated Cloud or a feature of IDEA's file management system. Here is what I'm seeing.
Last night, after performing a project-wide metadata retrieval via Illuminated Cloud, files that I know have been modified in the org were not getting those updates saved to the local project files.
The diff tool was able to confirm that the incoming files were indeed different than the local project files. As far as the diff tool was concerned, I "moved" those changes from left to right (org to local).
The only problem was that the local files would not update (they were open in the editor at the time). Finally, I tried refreshing the project using the synchronize button in the main toolbar. I got a warning message saying that there are changes on disk and memory that may overwrite open files (at least, I think that's what it said...I clicked through that dialog a bit too quickly. My bad)
Once I clicked the synchronize button, all the local files appeared to have the correct updates and matched the org versions.
This morning, I tried again, only this time I kept the local files closed until after the retrieval / diff / left-to-right-move was complete. Each file opened with the old version, then within about 10 seconds, the contents of the editor automagically changed to the correct, updated version from the org.
Here's what I want to know:
- Is this behavior normal for IDEA? My expectation is that once I bring a file "from left to right" in the diff tool, then the changes should be immediately visible in local editors and on disk.
- Do I need to force myself to get into the habit of clicking IDEA's Synchronize button after each metadata retrieve I do?
- Is there anything that Illuminated Cloud can do to streamline this process?
Thanks,
Vivek