eclipse, refresh files edited by external editor

eugene picture eugene · Nov 20, 2012 · Viewed 14.6k times · Source

I currently use emacs to edit .java files and run eclipse.

Eclipse doesn't automatically recognize modified files, so I often end up running unmodified application.

I wonder if there exists a shortcut to refresh all the modified files in eclipse.

Answer

ntalbs picture ntalbs · Nov 20, 2012

Perhaps you want to check Preferences > General > Workspaces > Refresh using native hooks or polling. You can see that the eclipse refreshes the file you edit with external editor (like vi, emacs, etc) when you check the option.