From ee312277e64327590f77f946d0a95f7fbc8df4db Mon Sep 17 00:00:00 2001 From: Kemal Hadimli Date: Fri, 3 May 2013 14:38:31 +0300 Subject: [PATCH] Add package settings menu and option to Edit menu (close #3) --- Main.sublime-menu | 112 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 Main.sublime-menu diff --git a/Main.sublime-menu b/Main.sublime-menu new file mode 100644 index 0000000..deeaebb --- /dev/null +++ b/Main.sublime-menu @@ -0,0 +1,112 @@ +[ + { + "id": "edit", + "children": + [ + { + "caption": "Highlight Whitespaces", + "id": "highlight-whitespaces", + "children": + [ + { + "command": "hws_toggle_whitespaces", + "caption": "Toggle" + } + ] + } + ] + }, + { + "id": "preferences", + "children": + [ + { + "caption": "Package Settings", + "mnemonic": "P", + "id": "package-settings", + "children": + [ + { + "caption": "Highlight Whitespaces", + "children": + [ + { + "command": "open_file", + "args": { + "file": "${packages}/HighlightWhitespaces/README.md", + "platform": "Windows" + }, + "caption": "Help" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/HighlightWhitespaces/README.md", + "platform": "OSX" + }, + "caption": "Help" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/HighlightWhitespaces/README.md", + "platform": "Linux" + }, + "caption": "Help" + }, + { "caption": "-" }, + { + "command": "open_file", + "args": { + "file": "${packages}/HighlightWhitespaces/highlight_whitespaces.sublime-settings", + "platform": "Windows" + }, + "caption": "Settings - Default" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/HighlightWhitespaces/highlight_whitespaces.sublime-settings", + "platform": "OSX" + }, + "caption": "Settings - Default" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/HighlightWhitespaces/highlight_whitespaces.sublime-settings", + "platform": "Linux" + }, + "caption": "Settings - Default" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/User/highlight_whitespaces.sublime-settings", + "platform": "Windows" + }, + "caption": "Settings - User" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/User/highlight_whitespaces.sublime-settings", + "platform": "OSX" + }, + "caption": "Settings - User" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/User/highlight_whitespaces.sublime-settings", + "platform": "Linux" + }, + "caption": "Settings - User" + } + ] + } + ] + } + ] + } +]