title: nested menu group in intellij
body: <p>I am trying to create a intellij plugin, which will be under Tools menu and itself is a group of actions. I followed the example given here </p>
  
  <p><a href="https://www.jetbrains.org/intellij/sdk/docs/tutorials/action_system/grouping_action.html" rel="nofollow noreferrer">https://www.jetbrains.org/intellij/sdk/docs/tutorials/action_system/grouping_action.html</a></p>
  
  <p>but i am not able to get a grouped action, the action appears under the tools menu but its not a grouped action</p>
  
  <p><a href="https://i.stack.imgur.com/DYhuT.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DYhuT.jpg" alt="enter image description here"></a></p>
  
  <p>Its something like </p>
  
  <p>Tools -> Custom Grouped Action</p>
  
  <p>however i want</p>
  
  <p>Tools -> DefaultActionGroup Inheritor -> Custom Grouped Action</p>
  
  <p>Below is code from actions</p>
  
  <pre><code>&lt;actions&gt;
          &lt;!-- Add your actions here --&gt;
          &lt;group id="CustomDefaultActionGroup"
                 text="DefaultActionGroup Inheritor" description="Default Action Group Demo"&gt;
              &lt;add-to-group group-id="ToolsMenu" anchor="last"/&gt;
              &lt;action class="RME" id="CustomGroupedAction"
                      text="Custom Grouped Action" description="Custom Grouped Action Demo"/&gt;
          &lt;/group&gt;
      &lt;/actions&gt;
  </code></pre>