Eclipse: Resource is out of Sync (no more)

Probably everyone working with Eclipse knows the following message that shows up when a file that belongs to the Eclipse workspace is changed outside of Eclipse:

Resource is out of sync with the file system: '<Path>'

Press 'F5' or select File > Refresh to refresh the file.


Checking the “Refresh automatically” under Preferences -> Workspace helps to avoid this message. In case a file is now already open in Eclipse when changed a dialogue shows up asking if the file should be refreshed. If the file was closed in Eclipse when it is changed outside it is refreshed silently and contains the proper content when opened. This is probably wanted in 99% of all usecases.

Eclipse_Refresh

Thomas Jaspers

Related Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

© 2010 codecentric