Sublime Forum

Project Specific Menus

#1

Is it possible to add support so that you can define menu options in the .sublime-project? I have multiple projects that i occasionally have open at the same time and each project can support different features that i would like to execute from the menu. Adding these items to any .sublime-menu causes them to be available for all projects.

for example, being able to define this menu in sublime-project so that only when the project this is defined in is open, will have this menu.

[code]“menu”:
{
“caption”: “Launch”,
“id”: “Launch”,
“children”:

  {
  "caption": "Wireshark",
  "command": "launch_wireshark",
  },

},
[/code]

0 Likes