Permalink
Browse files

Add menu items for the settings files in Prefereces -> Package Settings.

Add Preferences -> Package Settings -> Word Count -> Settings - Default
and Settings - User, which open the respective configuration files for
WordCount.
  • Loading branch information...
1 parent 9942477 commit c855e0c061954e31d78e7d595e261ffa0661ce27 @canton7 canton7 committed Feb 25, 2012
Showing with 38 additions and 0 deletions.
  1. +38 −0 Main.sublime-menu
View
@@ -0,0 +1,38 @@
+[
+ {
+ "mnemonic": "n",
+ "caption": "Preferences",
+ "id": "preferences",
+ "children": [
+ {
+ "mnemonic": "P",
+ "caption": "Package Settings",
+ "id": "package-settings",
+ "children": [
+ {
+ "caption": "Word Count",
+ "children": [
+ {
+ "caption": "Settings – Default",
+ "args": {
+ "file": "${packages}/WordCount/WordCount.sublime-settings"
+ },
+ "command": "open_file"
+ },
+ {
+ "caption": "Settings – User",
+ "args": {
+ "file": "${packages}/User/WordCount.sublime-settings"
+ },
+ "command": "open_file"
+ },
+ {
+ "caption": "-"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+]

0 comments on commit c855e0c

Please sign in to comment.