Community
Participate
Working Groups
Created attachment 108275 [details] Really long context menu as it is now Allow the user to customize what items appear in the context menu(s). Attached is a picture of my current context menu when inside a Java editor. 1. This would be controlled by a page in the Preferences or Customize dialogs, where the list of commands available (all commands that could ever appear in the context menu) would be shown, and the user could choose which ones to show and which to hide. The use case is when certain plugins add new items, but I don't use them often, so I want to hide them from the context menu. 2. Allow the user to set the list of items to show, on a per-view basis. As it is now, a different set of items appear in the menu from the Package Explorer vs. the Editor. In controlling these, the Preferences page should show which commands are allowed in each view (ie. which ones appear there in the current (bloated) context menu in each case). 3. I imagine that the settings for these might be customizable per perspective, but perhaps a global setting that applies to all perspectives by default. If the suggestion above about Views is taken care of, this may not be necessary.
Created attachment 108277 [details] A shorter context menu Here's what a shorter context menu might look like after filtering (according to my personal preferences).
Another idea (in addition to the aforementioned) is to collect all the hidden items into a submenu that simply lists them out. This would allow access to the hidden items while still keeping the context menu small. The existence of such a submenu should be a preference (turn it on/off).
There is the notion of menu overrides that is a future enhancement of the menu contribution story. See http://wiki.eclipse.org/Menu_Contributions/RCP_removes_the_Project_menu for a usecase that it might support. This is unlikely to make it into the 3.x stream, so I'm marking this for 4.0. The eclipse SDK could then implement something like the Customize Perspective Dialog for a given context menu and allow the user to mark some entries as "always invisible". This is not currently in the schedule, though. PW
*** Bug 233840 has been marked as a duplicate of this bug. ***
Removing outdated target milestone.