Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 33476

Summary: Add "Refresh" to project menu.
Product: [Eclipse Project] Platform Reporter: Jon Christiansen <eclipse>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 Keywords: usability
Version: 2.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Jon Christiansen CLA 2003-02-27 14:11:39 EST
I have to use an external source control system where I work, and everytime I 
sync with the system, I have to refresh the project.

It would be nice if I could just click on a menu item to do the refresh instead 
of having to go to the package explorer and then scroll all the way to the top 
to see the root of the project and then right clicking on that, and then 
clicking refresh.
Comment 1 DJ Houghton CLA 2003-02-27 16:01:37 EST
I am assuming that the user is asking that the "Refresh" menu entry be in the 
context menu for Java files within the Package Explorer. (since it already 
exists for files/folders in the Navigator)

Note that there is a handy "collapse all" button which will collapse the tree 
and you can easily select your project in your view after this.

Moving to JDT/UI.
Comment 2 Jon Christiansen CLA 2003-02-27 16:34:35 EST
That wasn't what I originally thought, but that would accomplish the same thing.

What I was actually referring to was the "Project" menu on the real Eclipe 
Menubar, that currently has the following items: Open Project, Close Project, 
Build Project, Build All, Rebuild All, Edit Java Build Path..., Generate 
JavaDoc...

It feels like "Refresh Project" would be a natural item to be available on this 
menu.
Comment 3 Dirk Baeumer CLA 2003-02-27 17:29:34 EST
The action is available in the context menu of the package explorer, but it 
refreshes only the selected element (e.g Java file, package, ...).

The requested action would be best provided by the workbench to be consistent 
between Navigator and package explorer.

Moving to Platform.
Comment 4 Nick Edgar CLA 2003-03-11 15:50:39 EST
Having Refresh work only on the selection (and child elements) is confusing 
and probably not what you want.
Another option is to change the context menu operation to be "Refresh Project" 
which would work on the whole project containing the selected resource.
Comment 5 Nick Edgar CLA 2003-03-11 15:52:06 EST
Consider for 2.2.
Comment 6 Michael Van Meekeren CLA 2004-05-21 13:47:33 EDT
To try and reduce menu size this will not be fixed. Refresh is available from 
the File menu and the context menu.
Comment 7 Michael Van Meekeren CLA 2004-05-21 13:51:33 EDT
you can also automatically refresh the workspace .. .see 
Window > Preferences > Workbench > Refresh Workspace Automatically