Right now I just have a simple menu option in my Name.package-menu to run the major command:
- Code: Select all
<menu>
<item caption="Name" command="doAction"/>
</menu>
I would like a submenu to present a small list of options from which to select one option which my package can detect, kind of like the Build System submenu. Is this currently possible?
Edit: And then you stumble across http://www.sublimetext.com/docs/menus via a Google search. Lets see if that can help me out a bit.
Edit2: You can build submenus by simply doing something like the following:
- Code: Select all
<menu caption="Name">
<item caption="NormalCommand" command="doCommand"/>
<menu caption="SubMenu">
<item caption="Option1" command="doSomething"/>
</menu>
</menu>
Still need to see how to make this a radio button kind of menu though.