Skip to content
Browse files

Add menu entries to access plugin configuration.

It adds an menu entry 'RubyTest' to 'Sublime Text 2' -> 'Preferences' -> 'Package Settings'.
  • Loading branch information...
1 parent c973b66 commit 49d5f10576ec4bad7d3ef97a832807c9432e0813 @skorfmann skorfmann committed Aug 25, 2012
Showing with 67 additions and 0 deletions.
  1. +67 −0 Main.sublime-menu
View
67 Main.sublime-menu
@@ -44,5 +44,72 @@
]
}
]
+ },
+ {
+ "caption":"Preferences",
+ "mnemonic":"n",
+ "id":"preferences",
+ "children":[
+ {
+ "caption":"Package Settings",
+ "mnemonic":"P",
+ "id":"package-settings",
+ "children":[
+ {
+ "caption":"RubyTest",
+ "children":[
+ {
+ "command":"open_file",
+ "args":{
+ "file":"${packages}/RubyTest/RubyTest.sublime-settings"
+ },
+ "caption":"Settings – Default"
+ },
+ {
+ "command":"open_file",
+ "args":{
+ "file":"${packages}/User/RubyTest.sublime-settings"
+ },
+ "caption":"Settings – User"
+ },
+ {
+ "caption":"-"
+ },
+ {
+ "command":"open_file",
+ "args":{
+ "file":"${packages}/RubyTest/Default.sublime-keymap"
+ },
+ "caption":"Key Bindings – Default"
+ },
+ {
+ "command":"open_file",
+ "args":{
+ "file":"${packages}/RubyTest/Default (Windows).sublime-keymap",
+ "platform":"Windows"
+ },
+ "caption":"Key Bindings – User"
+ },
+ {
+ "command":"open_file",
+ "args":{
+ "file":"${packages}/RubyTest/Default (OSX).sublime-keymap",
+ "platform":"OSX"
+ },
+ "caption":"Key Bindings – User"
+ },
+ {
+ "command":"open_file",
+ "args":{
+ "file":"${packages}/RubyTest/Default (Linux).sublime-keymap",
+ "platform":"Linux"
+ },
+ "caption":"Key Bindings – User"
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
]

0 comments on commit 49d5f10

Please sign in to comment.
Something went wrong with that request. Please try again.