Open reregaga opened 1 year ago
this cannot be done 100% correct. because tab-context-menu items do not map to commands. they have special pascal handlers which handle right-click on passive tabs. but commands - work always on the active tab.
so internally, tab-context-menu items do not map to commands. so menu.json cannot be filled for tab-menu.
@kvichans plugin "Config Menu" by pressing button "Create config file with native menu" doesn't create any other items than
top-menu
,top menu submenu
,editor context-menu
. I think it would be useful if it also have ability to create a default menu fortab header context menu
anddropdown submenu of toolbar buttons
, something like this:So far I'm creating it manually (and then add the items I need), here's a default template if anyone needs one:
Note:
"?"
are put in place of commands that I could not find.