Sublime Forum

Want to add a function item

#1

0 Likes

#2

Yes. That’s easy to add. Here are the steps for it.

  1. Go to Preferences -> Browse Packages ... from the main menu. That’ll open the Packages directory (you should see a User folder there)
  2. In that User folder, create a file called Action.sublime-menu (the name and the extension need to be exact). This is basically the menu file for the menu in your screenshot.
  3. 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

#3

thanks~~~~

0 Likes