Skip to content

Commit

Permalink
Merge pull request #6 from husanjun/master
Browse files Browse the repository at this point in the history
Add sublime menu
  • Loading branch information
absszero authored Oct 17, 2023
2 parents 6497c45 + 8994cf6 commit 4a9920f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 12 deletions.
24 changes: 24 additions & 0 deletions LaravelGoto.sublime-commands
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[
{
"caption": "LaravelGoto: Goto Implementation",
"command": "laravel_goto"
},
{
"caption": "LaravelGoto: Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/LaravelGoto/LaravelGoto.sublime-settings",
"user_file": "${packages}/User/LaravelGoto.sublime-settings",
"default": "// Settings in here override those in \"LaravelGoto/LaravelGoto.sublime-settings\"\n\n{\n\t$0\n}\n",
},
},
{
"caption": "LaravelGoto: Key Bindings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/LaravelGoto/Default.sublime-keymap",
"user_file": "${packages}/User/Default (${platform}).sublime-keymap",
"default": "[\n\t$0\n]\n",
}
}
]
25 changes: 13 additions & 12 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,36 @@
"caption": "Preferences",
"mnemonic": "n",
"id": "preferences",
"children":
[
"children": [
{
"caption": "Package Settings",
"mnemonic": "P",
"id": "package-settings",
"children":
[
"children": [
{
"caption": "Laravel Goto",
"children":
[
"children": [
{
"caption": "Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/LaravelGoto/LaravelGoto.sublime-settings",
"default": "{}"
"user_file": "${packages}/User/LaravelGoto.sublime-settings",
"default": "// Settings in here override those in \"LaravelGoto/LaravelGoto.sublime-settings\"\n{\n\t$0\n}\n"
}
},
{ "caption": "-" },
{
"caption": "-"
},
{
"caption": "Key Bindings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/LaravelGoto/Default.sublime-keymap",
"default": "{}"
},
"caption": "Key Bindings"
}
"user_file": "${packages}/User/Default (${platform}).sublime-keymap",
"default": "[\n\t$0\n]\n",
},
}
]
}
]
Expand Down

0 comments on commit 4a9920f

Please sign in to comment.