Want to add a function item
Yes. That’s easy to add. Here are the steps for it.
- Go to
Preferences -> Browse Packages ...
from the main menu. That’ll open thePackages
directory (you should see aUser
folder there) - In that
User
folder, create a file calledAction.sublime-menu
(the name and the extension need to be exact). This is basically the menu file for the menu in your screenshot. - Paste the following in that
[
{
"caption": "Open Containing Folder ...",
"command": "open_dir",
"args": {
"path": "$working_dir/$path"
},
},
]
You now should be able to see the menu item.
2 Likes