问题
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
回答1:
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:
What's New in eclipse 3.7
回答2:
Check "Refresh workspace on startup" in "General->Start up and Shutdown" preferences. That should fix it after application restart.
来源:https://stackoverflow.com/questions/7073348/auto-refresh-eclipse-project-upon-folder-update