Community
Participate
Working Groups
Using eclipse M5, I can edit a file outside of eclipse, save it, then do a synchronize outgoing changes and it will not detect that the file needs to be refreshed. Previous versions (M3 for sure did) would detect this and refuse to sync until you refreshed.
We now cache dirty folder detection (for performance) so its possible we don't notice this case anymore. However, as a general rule one should always "Refresh" a project that has been edited outside of eclipse, since other workspace state will be out of sync as well. JM, please investigate. At a minimum we should ensure that we detect the changes in "Refresh" (I believe this works).
If I do a refresh before doing a sync it works as expected. If nothing else, allow the user to specify they want to automatically preform a refresh before every sync.
Should ensure that IResource::getContents() throws an exception if file is out of sync with file system.
The new sync view (a.k.a live synchronize) will work with the basic refresh action. There will no longer be a "synchronize with remote" action and sync changes will always be updated in the view. Marking as won't fix.