eclipse - Avoiding "resource is out of sync with the filesystem" -


i develop java code eclipse , regularly message:

resource out of sync filesystem.

right-click > refresh clear this.

but why can't eclipse refresh automatically when finds condition? there cases want resource out of sync?.

if there such conditions , don't apply work, there way of getting eclipse refresh automatically when encounters state?. (i appreciate should refresh little needs in normal development increase performance human developers.)

update (2012-06-25): latest update (version: indigo release build id: 20110615-0604) no longer shows preferences - general - workspace - refresh automatically there option "refresh on access" - should use this?

you can enable in window - preferences - general - workspace - refresh automatically (called refresh using native hooks or polling in newer builds)

the reason can think why isn't enabled default performance related.

for example, refreshing source folders automatically might trigger build of workspace. perhaps people want more control on this.

there article on eclipse site regarding auto refresh.

basically, there no external trigger notifies eclipse of files changed outside workspace. rather background thread used eclipse monitor file changes can possibly lead performance issues large workspaces.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -