Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316266

Summary: [IDE] When opening a file it should be refreshed if "Refresh automatically" is on
Product: [Eclipse Project] Platform Reporter: Hans-Peter Störr <yu4cheem>
Component: IDEAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact: Paul Webster <pwebster>
Severity: normal    
Priority: P3 CC: daniel_megert, remy.suen, yu4cheem
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Hans-Peter Störr CLA 2010-06-09 06:58:52 EDT
Build Identifier: M20090917-0800

Even if you turn on the preference "General/Workspace/Refresh automatically", eclipse displays "Resource out of sync with the file system ... Press 'F5' ..". Of course the whole point of this option is that you never ever want see this message. So eclipse should do a refresh by itself.

This is in practice quite annoying to me and my coworkers and appears regularily in the following cases (and probably more):
- if you open a project and immediately try to open a file (the automatic refresh is not done yet)
- if you open a logfile of a server that is currently running

It would be nice if you could fix this. Thanks so much!

Reproducible: Always

Steps to Reproduce:
1. Turn preference "General/Workspace/Refresh automatically"
2. open a file in the workspace that changes very frequently

To create a file that changes very frequently you can for instance execute
while true; do echo > frequentlychangingfile; done
in a bash.
Comment 1 Hans-Peter Störr CLA 2010-06-09 07:03:08 EDT
Perhaps bug 268797 is somewhat related.
Comment 2 Dani Megert CLA 2010-11-01 07:09:03 EDT

*** This bug has been marked as a duplicate of bug 248068 ***