Hi,
I’m trying to add a menu (under Tools|Packages) for my LaTeX package. Almost everything works (looking at the default menu file helped me understand the format reasonably well), with one exception. I cannot seem to create a menu item that adds a snippet. I am trying:
<item caption="Emphasize" command="insertSnippet emphasize"/>
where emphasize is a snippet in the LaTeX plugin. Issuing
view.runCommand("insertSnippet emphasize")
in the console works as expected. What am I doing wrong?
Thanks!
M