Skip to content

Commit

Permalink
Put the context menu into a separate child menu
Browse files Browse the repository at this point in the history
  • Loading branch information
rwols committed Nov 10, 2019
1 parent e489661 commit 8491948
Showing 1 changed file with 41 additions and 37 deletions.
78 changes: 41 additions & 37 deletions Menus/Context.sublime-menu
Original file line number Diff line number Diff line change
@@ -1,40 +1,44 @@
[
{ "caption": "-", "id": "lsp" },
{
"command": "lsp_symbol_references",
"caption": "Find Symbol References"
},
{
"command": "lsp_symbol_definition",
"caption": "Go To Symbol Definition"
},
{
"command": "lsp_symbol_type_definition",
"caption": "Go To Symbol Type Definition"
},
{
"command": "lsp_symbol_declaration",
"caption": "Go To Symbol Declaration"
},
{
"command": "lsp_symbol_implementation",
"caption": "Go To Symbol Implementation"
},
{
"command": "lsp_symbol_rename",
"caption": "Rename Symbol"
},
{
"command": "lsp_code_actions",
"caption": "Code Actions"
},
{
"command": "lsp_format_document",
"caption": "Format Document"
},
{
"command": "lsp_format_document_range",
"caption": "Format Selection"
},
{ "caption": "-", "id": "lsp_end"}
"caption": "LSP",
"children":
[
{
"command": "lsp_symbol_references",
"caption": "Find Symbol References"
},
{
"command": "lsp_symbol_definition",
"caption": "Go To Symbol Definition"
},
{
"command": "lsp_symbol_type_definition",
"caption": "Go To Symbol Type Definition"
},
{
"command": "lsp_symbol_declaration",
"caption": "Go To Symbol Declaration"
},
{
"command": "lsp_symbol_implementation",
"caption": "Go To Symbol Implementation"
},
{
"command": "lsp_symbol_rename",
"caption": "Rename Symbol"
},
{
"command": "lsp_code_actions",
"caption": "Code Actions"
},
{
"command": "lsp_format_document",
"caption": "Format Document"
},
{
"command": "lsp_format_document_range",
"caption": "Format Selection"
}
]
}
]

0 comments on commit 8491948

Please sign in to comment.