Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363240 - Better handling of out of sync files
Summary: Better handling of out of sync files
Status: CLOSED DUPLICATE of bug 303517
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 18:41 EST by Miles Parker CLA
Modified: 2011-11-09 05:03 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Parker CLA 2011-11-08 18:41:52 EST
Currently, when the user does a search and a file is out of sync, the user gets an error: 

"Resource is out of sync with the file system: '/project/somefile.txt'.

This seems way overboard, at least for a typical workflow. When searching within a complex workspace, I often get this error, typically for resources I care nothing about. Of course, it is (currently, anyway!) impossible for the IDE to intuit what resources I might or might not be interested in, but it would really improve workflow and quality perception to handle this in a less obtrusive way. Some possibilities:

1. Can't we just synch the actual file? If we can find out that it is out of synch, what's wrong with simply fixing that?
2. Provide "don't show this again" message.
3. Log as warning, not error.
4. Don't show.
Comment 1 Deepak Azad CLA 2011-11-08 19:39:20 EST
Please enable "Preferences > General > Workspace > Refresh on access". This was introduced in 3.7.
Comment 2 Miles Parker CLA 2011-11-08 19:41:27 EST
Oh, neat. Now I think I remember seeing a mention of that in milestones, but had forgotten. Out of curiosity, why isn't this default?
Comment 3 Deepak Azad CLA 2011-11-08 20:07:22 EST
(In reply to comment #2)
> Oh, neat. Now I think I remember seeing a mention of that in milestones, but
> had forgotten. Out of curiosity, why isn't this default?
That I don't know. But you can add your views to bug 340977.
Comment 4 Dani Megert CLA 2011-11-09 05:03:31 EST
.

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