Window > Preferences > General > Workspace > Refresh automaticallyHowever if you get "out of sync" you can press F5 to refresh.
Programming Tips - How can I avoid getting the "out of sync" error in Eclipse?
Date: 2011aug14
Product: Eclipse
Q. How can I avoid getting the "out of sync" error in Eclipse?
A. There is a option to auto-refresh: