In Eclipse, there is something called refresh workspace or F5 that refreshes the files, to make sure to pick-up any files that are changed outside eclipse.
Also, if you're using subversion, if you use an external subversion client you can run "update" in the subversion menu to update the diff highlighting.