views:

305

answers:

3

I have a workspace with a bunch of java projects. If i go to File->Refresh, it doesn't really refresh anything (perhaps the currently selected project). How do i get eclipse to refresh all of the projects?

A: 

Control click all your projects together, then right click and hit refresh.

Usually I refresh all like that, then i make sure to clean all projects and rebuild in eclipse.

Felix Khazin
+1  A: 

It will indeed only refresh the current project (or, more specifically, the current selection in the project explorer). I just click somewhere in the project explorer, do Ctrl+A to select all projects and then press F5 to achieve a complete refresh.

BalusC
Ok, thanks, but note that doing the above in the "Project Explorer" doesn't work (refresh is grayed out), but doing it in the "Package Explorer" it worked fine.
Jack
A: 

Ctrl-A, then F5.

You can set up the workspace to automatically refresh when it detects changes in the preferences. (Window > Preferences > General > Workspace > Refresh Automatically)

Mike Daniels