-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathContext.sublime-menu
45 lines (45 loc) · 1.38 KB
/
Context.sublime-menu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[
{
"id": "refactor",
"caption": "Refactor",
"children":
[
{
"caption": "Goto definition",
"command": "gotodefinition"
},
{
"caption": "Rename",
"command": "renamevariable"
},
{
"caption": "Introduce Variable",
"command": "introducevariable"
},
{
"caption": "Extract Method",
"command": "extractmethod"
},
// Selection Menu
{ "caption": "Selection: Expand to Paragraph", "command": "expand_selection_to_paragraph" },
{ "caption": "Selection: Expand to Scope", "command": "expand_selection", "args": {"to": "scope"} },
{ "caption": "Selection: Expand to Brackets", "command": "expand_selection", "args": {"to": "brackets"} },
{ "caption": "Selection: Expand to Indentation", "command": "expand_selection", "args": {"to": "indentation"} },
{ "caption": "Selection: Expand to Tag", "command": "expand_selection", "args": {"to": "tag"} },
{
"caption": "Preferences: Refactor Settings – Default",
"command": "open_file", "args":
{
"file": "${packages}/sublime-text-refactor/Refactor.sublime-settings"
}
},
{
"caption": "Preferences: Refactor Settings – User",
"command": "open_file", "args":
{
"file": "${packages}/User/Refactor.sublime-settings"
}
}
]
}
]