I am trying to place a menu next to Help>Welcome>Abhishek Menu.
I tried different approaches but couldn't get the desired result.
Please suggest me some way out.
Use menu contributions and the locationURI should be: menu:help?after=intro
Related
I am using eclipse CNF. When I place a right click in the project or folder for CNF, I see a pop up menu which contains an option "New" and that also contains submenu. How do i add an item to that submenu?
Well it seems i have figured out the way to do it :) :)
following link might help me as well as others searching for the same kind of solution...
http://cvalcarcel.wordpress.com/2010/04/04/writing-an-eclipse-plug-in-part-20-re turn-of-the-popup-menu-for-an-empty-navigator/
I am trying to remove "project" menu from menubar dynamically, means using code. Please help me out. It will be really helpful if someone can provide the exact code.
If you are writing an RCP application you can control what goes into the main menu. If you are adding plugins that you didn't write yourself and they are using extension points to contribute to the main menu, you can use Activities/Capabilities to remove them.
You cannot remove things from the main menu programmatically, unless your code contributed it.
I use an older plugin called Veloeclipse for editing Velocity templates in Eclipse. There's been no development on this since 2009, which isn't a problem because it's mainly just for syntax highlighting and format validation. The really annoying thing about it, however, is that when I try to do Show In to view the current Velocity template within my Package Explorer or Project Explorer, the only available option is Properties. That's not really useful. I really need to be able to get to the file in one of the regular explorer views.
So I have sort of two questions:
Is there a way to configure this without having to monkey with any code? A configuration file or something? I've grepped through my Eclipse installation and haven't seen anything, but I'm hoping that there's something I'm missing.
So assuming that the answer to my first question is no, how do I go about modifying the plugin code so that it will show more than the Properties view in the Show In menu? Most of what I found on the plugin development wiki comes from the other direction: how to make your view or perspective appear in the Show In menu.
Any help with this would be hugely appreciated!
Try to check the plugin source code. it might do something different than other editors. What I mean is that the show in menu item that you have there is not the usual extension point but a hard coded context menu option.
How can i add the my menu item inside the Run as menu item in pop up menu.
Thanks and Regards
Rahul Nakate
Mainly you have to extend the extension point org.eclipse.debug.core.launchConfigurationTypes and implement org.eclipse.debug.core.ILaunchConfigurationDelegate.
How to implement your own run configuration is a big topic. I would suggest to read the following: http://www.eclipse.org/articles/Article-Launch-Framework/launch.html
In Visual Studio, the editor has a drop-down list of functions in the current class; clicking on one will take me to the top of that function. Is there a way to get a similar behaviour from RubyMine?
I suggested this as a feature request to the folks at JetBrains, and within the day they got back to me to tell me about the 'File Structure Popup' on ^F12 which does very nearly what I want; it's an extra keypress but I can live with it.
If you're working on a Rails project, change the project view to Rails (change the View as: dropdown value)
Online help is here.
It looks like this is as close as it gets to the functionality you're looking for.
Ctrl+0 key in editor will show all methods with search capacity.
The same is drop-down menu Navigate -> File structure.