Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No new menu #48

Closed
juanfal opened this issue Oct 15, 2012 · 1 comment
Closed

No new menu #48

juanfal opened this issue Oct 15, 2012 · 1 comment

Comments

@juanfal
Copy link

juanfal commented Oct 15, 2012

In my opinion, adding a new menu is a luxury and waste of screen space specially for a package is not so important as Edit, or File menus: I have moved the (not necessary, but adequate) Gist menu to Tools:

    [
        {
            "id": "tools",
            "children":
            [
                {
                    "caption": "Gist",
                    "mnemonic": "G",
                    "children":
                    [
                        // {"id": "build"},
                        { "command": "gist", "caption": "Create Public Gist…" },
                        { "command": "gist_private", "caption": "Create Private Gist…" },
                        { "command": "gist_list", "caption": "Open Gist…" },
                        { "command": "insert_gist_list", "caption": "Insert Gist…" },
                        { "command": "gist_add_file", "caption": "Add File to Gist…" },
                        { "caption": "-" },
                        { "command": "gist_copy_url", "caption": "Copy Gist URL" },
                        { "command": "gist_open_browser", "caption": "Open Gist in Browser"},
                        { "command": "gist_update_file", "caption": "Update File" },
                        { "command": "gist_rename_file", "caption": "Rename File…" },
                        { "command": "gist_delete_file", "caption": "Delete File" },
                        { "command": "gist_change_description", "caption": "Change Gist Description…" },
                        { "command": "gist_delete", "caption": "Delete Gist" }
                    ]
                }
            ]
        }
        ,{
            "caption": "Preferences",
            "mnemonic": "n",
            "id": "preferences",
            "children":
            [
                {
                    "caption": "Package Settings",
                    "mnemonic": "P",
                    "id": "package-settings",
                    "children":
                    [
                        {
                            "caption": "Gist",
                            "children":
                            [
                                {
                                    "command": "open_file",
                                    "args": {"file": "${packages}/Gist/Gist.sublime-settings"},
                                    "caption": "Settings – Default"
                                },
                                {
                                    "command": "open_file",
                                    "args": {"file": "${packages}/User/Gist.sublime-settings"},
                                    "caption": "Settings – User"
                                },
                                {
                                    "command": "open_file",
                                    "args": {
                                        "file": "${packages}/Gist/Default (Windows).sublime-keymap",
                                        "platform": "Windows"
                                    },
                                    "caption": "Key Bindings – Default"
                                },
                                {
                                    "command": "open_file",
                                    "args": {
                                        "file": "${packages}/User/Default (Windows).sublime-keymap",
                                        "platform": "Windows"
                                    },
                                    "caption": "Key Bindings – User"
                                },
                                { "caption": "-" }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
@juanfal juanfal closed this as completed Oct 15, 2012
@technocoreai
Copy link
Contributor

Why close it? I agree, no plugin isn't important enough to deserves its own menu, especially one in a completely wrong location (after Help on Mac).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants