I want to know if there is a way to enable auto refresh of eclipse project whenever there is an update on the folder consisting project files. For instance when i update the files from version control such as SVN,or if i include files from my friend etc. I know we can simply refresh the project or use SVN plug in as such ,but i am simply curious as to folder update notifications. Thanks in advance
Asked
Active
Viewed 2.5k times
2 Answers
29
Yes , Eclipse version 3.7 has the new lightweight refresh mechanism to keep the workspace synchronized with the underlying filesystem. You can enable it in Preferences > General > Workspace
and select Refresh on access
.
If you use previous version , you can still use the old refresh mechanism by selecting Refresh using native hooks or polling
Reference:

Ken Chan
- 84,777
- 26
- 143
- 172
-
7Although works when you modify file from explorer. it fails to work when files are updated from version control – Ravisha Aug 16 '11 at 07:41
-
for me,its already checked,yet my file system is not updates wiht my new code! – LoveMeow May 18 '15 at 14:52
-
It worked for me, but it does slows down eclipse. may be because it keeps listening to native APIs – Ravisha May 27 '15 at 15:47
-
Using the setting Refresh using native hooks or polling worked for my case. I needed to refresh som resources genereted outside of Eclipse (without having to access them). – Jarle Jacobsen Nov 16 '17 at 15:01
3
Check "Refresh workspace on startup" in "General->Start up and Shutdown" preferences. That should fix it after application restart.

Ross
- 31
- 1