Plugin not showing in main menu
I have created a custom action and added it to the xml but still can't find it in the menu. What am I missing here?
<action id="jplugin.Allaudin" class="com.mallaudin.jplugin.Allaudin" text="Plugin Name" description="Plugin Desc">
<add-to-group group-id="MainMenu" anchor="first"/>
<keyboard-shortcut keymap="$default" first-keystroke="shift ctrl alt B" second-keystroke="shift ctrl alt X"/>
</action>
Please sign in to leave a comment.
I think you can only add a group to main menu, so e.g:
<group id="MyGroup" text="My G_roup" description="My Group" popup="true">
<action id="jplugin.Allaudin" class="com.mallaudin.jplugin.Allaudin" text="Plugin Name" description="Plugin Desc">
<keyboard-shortcut keymap="$default" first-keystroke="shift ctrl alt B" second-keystroke="shift ctrl alt X"/>
</action>
<add-to-group group-id="MainMenu" anchor="first"/>
</group>
Not sure about the keyboard-shortcut.
this should work too:
shortcuts may be manually assigned by user in settings.