I created a Preferences->Package Setting->MarkdownBuild Menu #2

Open
dflock opened this Issue May 7, 2012 · 2 comments

Comments

Projects
None yet
2 participants

dflock commented May 7, 2012

I created a .menu file for MarkdownBuild to make it easier to edit the Package Preferences. Just save this as Main.sublime-menu in the package folder:

[
    {
        "caption":    "Preferences",
        "mnemonic":   "n",
        "id":         "preferences",
        "children":
        [
            {
                "caption":    "Package Settings",
                "mnemonic":   "P",
                "id":         "package-settings",
                "children":
                [
                    {
                        "caption":  "MarkdownBuild",
                        "children":
                        [
                            {
                                "command":  "open_file",
                                "args":     { "file": "${packages}/MarkdownBuild/MarkdownBuild.sublime-settings" },
                                "caption":  "Settings - Default"
                            },
                            {
                                "command":  "open_file",
                                "args":     { "file": "${packages}/User/MarkdownBuild.sublime-settings" },
                                "caption":  "Settings - User"
                            }
                        ]
                    }
                ]
            }
        ]
    }
]
Owner

erinata commented May 7, 2012

Thanks! I will incorporate it into the package (And more importantly you have taught me how to make a menu item, now I can use it in my other packages)

dflock commented May 8, 2012

You're welcome - I just copied it from another package that already had one!

On 7 May 2012 16:54, erinata <
reply@reply.github.com

wrote:

Thanks! I will incorporate it into the package (And more importantly you
have taught me how to make a menu item, now I can use it in my other
packages)


Reply to this email directly or view it on GitHub:

#2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment