Community
Participate
Working Groups
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.
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.
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.
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.
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.
Consider for 2.2.
To try and reduce menu size this will not be fixed. Refresh is available from the File menu and the context menu.
you can also automatically refresh the workspace .. .see Window > Preferences > Workbench > Refresh Workspace Automatically