intellij "new Branch" menu item isn't active - intellij-idea

In IntelliJ IDEA, I cannot use a new branch because the menu item for creating a new branch is not active.
What needs to be done so that the menu items becomes active ?

Related

How to disable "Merge into Current" menu item, so the Rebase Current onto Selected will be only available

We are only rebasing, not merging. I want to help new team members avoid pressing the wrong menu item which they should never click anyway.
I would like to know how to disable "Merge into Current" menu item, so the Rebase Current onto Selected will be only available.
Thanks!
There is no option to configure list of actions available in Branches popup in IntelliJ IDE.
Feel free to submit a Feature request on YouTrack:
https://youtrack.jetbrains.com

How to show all files in Intellij IDEA project view?

In new version 2017.3 they added this feature and I can't find menu to turn it off.
Despite the post's title, I assume you are asking for a menu entry to fully collapse a partially or fully expanded project in Intellij Idea (i.e. "How to un-show all files...", not "How to show all files...").
I don't know of any menu entry to do that. However, you can just hold down the left arrow key to completely collapse the entire project as long as you have any node in your project selected (per my comment to this SO post: Intellij, project navigation. Expand all folder and file tree).
If you just tap the left arrow key instead of holding it down it will collapse the structure for the currently selected node.
For the key mapping see File -> Settings... -> Keymap -> Editor Actions -> Left.

How to add module to top bar menu openerp

I want to add a new module to the top bar menu at openerp.
I don't know what exactly the name is, but it placed at the top of the openerp (next to the people who login). By default, the top bar menu contains Messaging, Sales, Project, Knowledge, Reporting, Settings.
I want to add my new module to that menu bar. Can I? And how can?
Yoas Loing
You have to do nothing to define new menu on top, just define your menu item and do not give any parent of this menu, and define at least on child below this menu,
Hope this help

How to add item in eclipse project explorer context menu

Thanks in advance .....
I have to add one item in project explorer's context menu (new->new item), and also in new toolbar's web category (new item) . I can directly add item in context menu , but how to add in New menu of the project explorer's context menu. Same for the new toolbar , i can directly add contents i
Maybe you can use the 'org.eclipse.ui.newWizards' extension-point to contribute an new wizard, and then use the 'org.eclipse.ui.navigator.navigatorContent'(common wizard) extension-point to add your wizard to the context menu.

Adding an entry in a submenu of a popup

I'm building a plugin, and adding an entry to the context menu (right-click on a folder in the project tree).
So far it works, following this tutorial:
http://www.eclipse.org/articles/article.php?file=Article-JFaceWizards/index.html
The problem is that it's adding my entry in the root of the context menu. Since my entry refers to a "New XXX" wizard, I want it to go to the "New" submenu.
It seems like I would have to set the correct locationURI or menuPath in my plugin.xml. However I can't find the locationURI or menuPath corresponding to that submenu. How can I find that?
The new contributions are menu ID based, not menu path based. So it should be something like:
<menuContribution
locationURI="menu:file?after=additions" />
See this SO answer for an example of locationUri.
See Menu Extension for more. The exact id is either:
found in the existing plugin.xml from the menu or
determined with plugin Spy
See "How to add items in popup menu?" (from justinmreina) for more on adding an entry to a menu.
If you've created a plugin for a 'New XXX' wizard, you can add it inside the 'New' menu that you see when you right-click inside the Navigator by customizing the perspective.
Go to Window -> Customize Perspective and click on the Shortcuts tab. You should see 'New XXX'. Select it and you're good to go.