-
-
Notifications
You must be signed in to change notification settings - Fork 245
/
Main.sublime-menu
316 lines (316 loc) · 14.8 KB
/
Main.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
[
{
"id": "tools",
"children":
[
{
"id": "packages",
"caption": "Packages",
"children":
[
{
"caption": "BracketHighlighter",
"children":
[
// Toggle Global Enable
{
"caption": "BracketHighlighter: Toggle Global Enable",
"command": "bh_toggle_enable"
},
{ "caption": "-" },
// Search to end of file for bracket
{
"caption": "Match Brackets (ignore threshold)",
"command": "bh_key",
"args": {"lines" : true}
},
// Remove brackets
{
"caption": "Remove Brackets",
"command": "bh_remove_brackets"
},
// Go to left bracket
{
"caption": "Jump to Left Bracket",
"command": "bh_key",
"args":
{
"no_outside_adj": null,
"no_block_mode": null,
"lines" : true,
"plugin":
{
"type": ["__all__"],
"command": "bh_modules.bracketselect",
"args": {"select": "left"}
}
}
},
// Go to right bracket
{
"caption": "Jump to Right Bracket",
"command": "bh_key",
"args":
{
"no_outside_adj": null,
"no_block_mode": null,
"lines" : true,
"plugin":
{
"type": ["__all__"],
"command": "bh_modules.bracketselect",
"args": {"select": "right"}
}
}
},
// Select text between brackets
{
"caption": "Select Bracket Content",
"command": "bh_key",
"args":
{
"no_outside_adj": null,
"lines" : true,
"plugin":
{
"type": ["__all__"],
"command": "bh_modules.bracketselect"
}
}
},
// Select text including brackets
{
"caption": "Select Bracket Content with Brackets",
"command": "bh_key",
"args":
{
"no_outside_adj": null,
"lines" : true,
"plugin":
{
"type": ["__all__"],
"command": "bh_modules.bracketselect",
"args": {"always_include_brackets": true}
}
}
},
// Fold contents between brackets
{
"caption": "Fold Bracket Content",
"command": "bh_key",
"args":
{
"plugin": {
"type": ["__all__"],
"command" : "bh_modules.foldbracket"
}
}
},
{ "caption": "-" },
// Toggle between string and regex escape mode for string brackets
{
"caption": "Toggle String Bracket Escape Mode",
"command": "bh_toggle_string_escape_mode"
},
// Toggle high visibility mode
{
"caption": "Toggle High Visibility Mode",
"command": "bh_toggle_high_visibility"
},
{ "caption": "-" },
// Select tag name of HTML/XML tag (both opening name and closing)
{
"caption": "Select Tag Name (closing and opening)",
"command": "bh_key",
"args":
{
"plugin":
{
"type": ["cfml", "html", "angle"],
"command": "bh_modules.tagnameselect"
}
}
},
// Select the attribute to the right of the cursor (will wrap inside the tag)
{
"caption": "Select Next Attribute (right)",
"command": "bh_key",
"args":
{
"plugin":
{
"type": ["cfml", "html", "angle"],
"command": "bh_modules.tagattrselect",
"args": {"direction": "right"}
}
}
},
// Select the attribute to the left of the cursor (will wrap inside the tag)
{
"caption": "Select Next Attribute (left)",
"command": "bh_key",
"args":
{
"plugin":
{
"type": ["cfml", "html", "angle"],
"command": "bh_modules.tagattrselect",
"args": {"direction": "left"}
}
}
},
{ "caption": "-" },
// Convert single quote string to double quoted string and vice versa
// Will handle escaping or unescaping quotes within the string
{
"caption": "Swap Quotes",
"command": "bh_key",
"args":
{
"lines" : true,
"plugin":
{
"type": ["single_quote", "double_quote", "py_single_quote", "py_double_quote"],
"command": "bh_modules.swapquotes"
}
}
},
// Swap brackets
{
"caption": "Swap Brackets",
"command": "swap_brackets"
},
// Surround selection with brackets from quick panel
{
"caption": "Wrap Selections with Brackets",
"command": "wrap_brackets"
},
{"caption": "-"},
{
"caption": "Debug Mode",
"command": "bh_debug"
},
{
"caption": "Filter Rules by Key",
"command": "bh_debug_rule",
"args": {"filter_key": true}
},
{
"caption": "Show Merged Rules",
"command": "bh_debug_rule"
}
]
}
]
}
]
},
{
"id": "preferences",
"children":
[
{
"caption": "Package Settings",
"id": "package-settings",
"children":
[
{
"caption": "BracketHighlighter",
"children":
[
{
"command": "edit_settings", "args": {
"base_file": "${packages}/BracketHighlighter/bh_core.sublime-settings",
"default": "{\n$0\n}\n"
},
"caption": "Bracket Settings"
},
{
"command": "edit_settings", "args": {
"base_file": "${packages}/BracketHighlighter/bh_tag.sublime-settings",
"default": "{\n$0\n}\n"
},
"caption": "Tag Settings"
},
{
"command": "edit_settings", "args": {
"base_file": "${packages}/BracketHighlighter/bh_wrapping.sublime-settings",
"default": "{\n$0\n}\n"
},
"caption": "Wrap Settings"
},
{
"command": "edit_settings", "args": {
"base_file": "${packages}/BracketHighlighter/bh_swapping.sublime-settings",
"default": "{\n$0\n}\n"
},
"caption": "Swap Settings"
},
{ "caption": "-" },
{
"command": "open_file",
"args": {"file": "${packages}/BracketHighlighter/Example.sublime-keymap"},
"caption": "Example Key Bindings"
},
{
"command": "open_file",
"args": {
"file": "${packages}/User/Default (Windows).sublime-keymap",
"platform": "Windows"
},
"caption": "Key Bindings – User"
},
{
"command": "open_file",
"args": {
"file": "${packages}/User/Default (OSX).sublime-keymap",
"platform": "OSX"
},
"caption": "Key Bindings – User"
},
{
"command": "open_file",
"args": {
"file": "${packages}/User/Default (Linux).sublime-keymap",
"platform": "Linux"
},
"caption": "Key Bindings – User"
},
{ "caption": "-" },
{
"caption": "Changelog",
"command": "bracket_highlighter_changes"
},
{
"caption": "Documentation",
"command": "bracket_highlighter_open_site",
"args": {
"url": "http://facelessuser.github.io/BracketHighlighter/"
}
},
{
"caption": "Quick Start Guide",
"command": "bracket_highlighter_doc",
"args": {
"page": "${packages}/BracketHighlighter/quickstart.md"
}
},
{ "caption": "-" },
{
"caption": "Support Info",
"command": "bracket_highlighter_support_info"
},
{
"caption": "Issues",
"command": "bracket_highlighter_open_site",
"args": {
"url": "https://github.com/facelessuser/BracketHighlighter/issues"
}
}
]
}
]
}
]
}
]