问题
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.
回答1:
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.
回答2:
On the project explorer you need to select the project(s) that you want to refresh and then click on File->Refresh or hit F5.
来源:https://stackoverflow.com/questions/13470311/eclipse-refresh-files-edited-by-external-editor