Community
Participate
Working Groups
I'd like to see a keybinding (or the possibility to create one) for org.eclipse.pde.ui.OpenManifestAction.
Care to attach a patch :)? It would make it go faster :P
I started to try. However, I cannot complete it. First of all, the PDE tools menu is implemented as objectContributions/Actions while keybindings ask for commands and using the org.eclipse.ui.menus extension point. So that item would have to be refactored. The patch I have attached starts doing this for the Open Manifest command, however you might want to change command category ID and command ID and so on... Then I realized, that what I wanted is not simply a shortcut from the menuitem (that is, if the Plugin-Project is already selected), but e.g., from within a Java editor. What I'd like is a more or less omnipresent command which can navigate to the Manifest Editor of the Plugin-Project of the currently selected file or of the file whose editor is active. Maybe this can be achieved by enhancing the logic in the command handler and by providing another context for the command, but I am not so mucht into the platform at that point, so I can not figure out easily. I hope that the attached patch can serve as a starting point ...
Created attachment 118669 [details] Patch (as a starting point - incomplete)
i 2nd this notion and thought of this like so: add a menu entry to the Project menu named "Open &Manifest" if the currently selected resource of the view or editor is part of a plugin project. giving it a try based on the patch given here
Created attachment 147512 [details] project-submenu.patch this patch will add the submenu "PDE To&ols" to project/additions containing actions to open the manifest editor in diff. pages. i hope u guys like it. the patch is against the latest tag: v20090202 (Version)
uh, i forgot: at the end of my hacking i saw that there might be an official way to pass parameters from the plugin.xml involving IExecutableExtension but i didnt bother to investigate that matter deeper, as it is getting very late/early...
Created attachment 185486 [details] project-submenu-helios-SR1.patch
I would support a patch that made the open manifest action a command, available on the keybindings pref page. However, the project menu is deliberately small and uncluttered and I am hesitant to add new items to it.
would love to have a fast way of opening the manifest for the current "context". Getting it on the project somehow would be cool. Also interesting to get it on arbitrary resources. Basically open the manifest for the current "thing".
(In reply to comment #9) > would love to have a fast way of opening the manifest for the current > "context". Getting it on the project somehow would be cool. Also interesting > to get it on arbitrary resources. Basically open the manifest for the current > "thing". hi jeff, this is what my patch does. try it. works like a charm and i cant live w/o it anymore when doing bundle development. also notice that this is still a hack, having little knowledge of how to do things right or really well in the eclipse plugin world. e.g. i didnt bother of finding out if the current project is actually a plugin and depending on that en/disable the menu entry. making this a part of a command group that can be disabled would be nice too for those not doing plugins/bundles, etc.
i also noticed that the current patch doesnt work with source bundles, ie. where u look at the code alright with source bundles but the code doesnt live in the workspace.
Created attachment 200137 [details] project-submenu-indigo
I think this is a duplicate of bug 331262.
*** This bug has been marked as a duplicate of bug 331262 ***