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

Add a Context.sublime-menu file #20

Open
jglhelias opened this issue Oct 19, 2016 · 0 comments
Open

Add a Context.sublime-menu file #20

jglhelias opened this issue Oct 19, 2016 · 0 comments

Comments

@jglhelias
Copy link

As the issue #3, may I suggest you to add a Context.sublime-menu file to your plugin. This file controls the right-click menu on a file being edited. This will provide the ability to beautify the current file or selection without the obligation to use the keyboard shortcut.

Sample content tested with Sublime Text 3 Build 3126:

[
    { "caption": "-" },
    {
        "caption": "SQL Beautifier",
        "command": "sql_beautifier"
    },
    { "caption": "-" }
]

Note: I don't know if ST3 is able to display context menu depending on the selected syntax. This would be chic.

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

1 participant