Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346435 - Remove the 'Resource is out of sync' automatically
Summary: Remove the 'Resource is out of sync' automatically
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 4.1   Edit
Hardware: All All
: P3 trivial with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 08:48 EDT by Baloe CLA
Modified: 2011-05-19 09:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baloe CLA 2011-05-19 08:48:12 EDT
Build Identifier: M20110210-1200

It is a shame that the best IDE of the world, which automates so much, simply asks for user input when I do a search and it says 'Resource is out of sync with the file system'. Which means I have to go to the project view, press F5 and go to the view screen again. I think a few million users in the world wish for you guys to simply automate this process. For me alone this costs about 30 minutes every day (as I use the search a lot) - which equals 2.5 hours a week. If you can detect that something is out of sync, simply fix it and refresh the resource automaticly! 

Reproducible: Always

Steps to Reproduce:
1. select any file or folder outside eclipse but in your project
2. edit, remove or copy any resource
3. select Search-File and search for something
Comment 1 Dani Megert CLA 2011-05-19 09:00:43 EDT
This got fixed recently: you can enable 'Refresh on access' on the Workspace preference page if you prefer to refresh on access.

>I think a few million users in the world wish
>for you guys to simply automate this process. 
I disagree that there are so many users that hit this problem as most users stay inside Eclipse and hence there won't be files out of sync.
Comment 2 Baloe CLA 2011-05-19 09:19:32 EDT
It's not true that nobody notices this. Ask any Ecplise developer, e-ve-ry-one knows this one. It's just too normal to notice anymore.

I never edit files outside Eclipse in my projects (like most people indeed). That is not the reason that this frustrating message keeps popup up several times a day.

This is just because the real outside world works with tools that use folders inside your project, for example Google GWT. Google GWT automaticly modifies some files inside the /war folder when you run it. You run it about once every hour during a normal work day, which means that ABOUT any time you do a search, it will complain. 

The same happens with a lot of other tools, I can remember some Oracle thing running inside a project folder as well, which ment I had to refresh manually continuously.

In Eclipse for PHP, this problem is big as well. Because as PHP developer it's quite normal to upload and download files to another server when you have completed a part. Well, this inevidently means that PHP developer have this problem a lot as well.
Comment 3 Dani Megert CLA 2011-05-19 09:22:28 EDT
(In reply to comment #2)
> It's not true that nobody notices this. Ask any Ecplise developer, e-ve-ry-one
> knows this one. It's just too normal to notice anymore.
I didn't say "nobody" ;-). Anyway, just take 3.7 RC1 or upcoming 3.7 (or 4.1) and you've got it.