@lvce-editor/shared-process 0.0.22 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,363 +1,363 @@
1
1
  [
2
2
  {
3
3
  "key": "ArrowDown",
4
- "command": "editorCompletion.focusNext",
4
+ "command": "EditorCompletion.focusNext",
5
5
  "when": "focus.editorCompletions"
6
6
  },
7
7
  {
8
8
  "key": "ArrowUp",
9
- "command": "editorCompletion.focusPrevious",
9
+ "command": "EditorCompletion.focusPrevious",
10
10
  "when": "focus.editorCompletions"
11
11
  },
12
12
  {
13
13
  "key": "Enter",
14
- "command": "editorCompletion.selectCurrent",
14
+ "command": "EditorCompletion.selectCurrent",
15
15
  "when": "focus.editorCompletions"
16
16
  },
17
17
  {
18
18
  "key": "Escape",
19
- "command": "editorCompletion.close",
19
+ "command": "EditorCompletion.close",
20
20
  "when": "focus.editorCompletions"
21
21
  },
22
22
  {
23
23
  "key": "ctrl+ArrowRight",
24
- "command": "editor.cursorWordRight",
25
- "when": "focus.ViewletEditorText"
24
+ "command": "Editor.cursorWordRight",
25
+ "when": "focus.EditorText"
26
26
  },
27
27
  {
28
28
  "key": "ctrl+ArrowLeft",
29
- "command": "editor.cursorWordLeft",
30
- "when": "focus.ViewletEditorText"
29
+ "command": "Editor.cursorWordLeft",
30
+ "when": "focus.EditorText"
31
31
  },
32
32
  {
33
33
  "key": "alt+Backspace",
34
- "command": "editor.deleteWordPartLeft",
35
- "when": "focus.ViewletEditorText"
34
+ "command": "Editor.deleteWordPartLeft",
35
+ "when": "focus.EditorText"
36
36
  },
37
37
  {
38
38
  "key": "alt+Delete",
39
- "command": "editor.deleteWordPartRight",
40
- "when": "focus.ViewletEditorText"
39
+ "command": "Editor.deleteWordPartRight",
40
+ "when": "focus.EditorText"
41
41
  },
42
42
  {
43
43
  "key": "ctrl+Backspace",
44
- "command": "editor.deleteWordLeft",
45
- "when": "focus.ViewletEditorText"
44
+ "command": "Editor.deleteWordLeft",
45
+ "when": "focus.EditorText"
46
46
  },
47
47
  {
48
48
  "key": "Enter",
49
- "command": "editorRename.finish",
49
+ "command": "EditorRename.finish",
50
50
  "when": "focus.editorRename"
51
51
  },
52
52
  {
53
53
  "key": "Escape",
54
- "command": "editorRename.abort",
54
+ "command": "EditorRename.abort",
55
55
  "when": "focus.editorRename"
56
56
  },
57
57
  {
58
58
  "key": "ctrl+Delete",
59
- "command": "editor.deleteWordRight",
60
- "when": "focus.ViewletEditorText"
59
+ "command": "Editor.deleteWordRight",
60
+ "when": "focus.EditorText"
61
61
  },
62
62
  {
63
63
  "key": "ctrl+d",
64
- "command": "editor.selectNextOccurrence",
65
- "when": "focus.ViewletEditorText"
64
+ "command": "Editor.selectNextOccurrence",
65
+ "when": "focus.EditorText"
66
66
  },
67
67
  {
68
68
  "key": "Tab",
69
- "command": "editor.handleTab",
70
- "when": "focus.ViewletEditorText"
69
+ "command": "Editor.handleTab",
70
+ "when": "focus.EditorText"
71
71
  },
72
72
  {
73
73
  "key": "shift+Tab",
74
- "command": "editor.unindent",
75
- "when": "focus.ViewletEditorText"
74
+ "command": "Editor.unindent",
75
+ "when": "focus.EditorText"
76
76
  },
77
77
  {
78
78
  "key": "ctrl+[",
79
- "command": "editor.indentLess",
80
- "when": "focus.ViewletEditorText"
79
+ "command": "Editor.indentLess",
80
+ "when": "focus.EditorText"
81
81
  },
82
82
  {
83
83
  "key": "ctrl+]",
84
- "command": "editor.indentMore",
85
- "when": "focus.ViewletEditorText"
84
+ "command": "Editor.indentMore",
85
+ "when": "focus.EditorText"
86
86
  },
87
87
  {
88
88
  "key": "shift+ArrowLeft",
89
- "command": "editor.selectCharacterLeft",
90
- "when": "focus.ViewletEditorText"
89
+ "command": "Editor.selectCharacterLeft",
90
+ "when": "focus.EditorText"
91
91
  },
92
92
  {
93
93
  "key": "ctrl+shift+ArrowLeft",
94
- "command": "editor.selectWordLeft",
95
- "when": "focus.ViewletEditorText"
94
+ "command": "Editor.selectWordLeft",
95
+ "when": "focus.EditorText"
96
96
  },
97
97
  {
98
98
  "key": "shift+ArrowRight",
99
- "command": "editor.selectCharacterRight",
100
- "when": "focus.ViewletEditorText"
99
+ "command": "Editor.selectCharacterRight",
100
+ "when": "focus.EditorText"
101
101
  },
102
102
  {
103
103
  "key": "ctrl+shift+ArrowRight",
104
- "command": "editor.selectWordRight",
105
- "when": "focus.ViewletEditorText"
104
+ "command": "Editor.selectWordRight",
105
+ "when": "focus.EditorText"
106
106
  },
107
107
  {
108
108
  "key": "ctrl+l",
109
- "command": "editor.selectLine",
110
- "when": "focus.ViewletEditorText"
109
+ "command": "Editor.selectLine",
110
+ "when": "focus.EditorText"
111
111
  },
112
112
  {
113
113
  "key": "ctrl+shift+Backspace",
114
- "command": "editor.deleteAllLeft",
115
- "when": "focus.ViewletEditorText"
114
+ "command": "Editor.deleteAllLeft",
115
+ "when": "focus.EditorText"
116
116
  },
117
117
  {
118
118
  "key": "ctrl+shift+Delete",
119
- "command": "editor.deleteAllRight",
120
- "when": "focus.ViewletEditorText"
119
+ "command": "Editor.deleteAllRight",
120
+ "when": "focus.EditorText"
121
121
  },
122
122
  {
123
123
  "key": "ctrl+s",
124
- "command": "main.save"
124
+ "command": "Main.save"
125
125
  },
126
126
  {
127
127
  "key": "ctrl+b",
128
- "command": "layout.toggleSideBar"
128
+ "command": "Layout.toggleSideBar"
129
129
  },
130
130
  {
131
131
  "key": "ctrl+m",
132
- "command": "layout.toggleActivityBar"
132
+ "command": "Layout.toggleActivityBar"
133
133
  },
134
134
  {
135
135
  "key": "ctrl+`",
136
- "command": "viewService.toggleView",
136
+ "command": "ViewService.toggleView",
137
137
  "args": ["Terminal"]
138
138
  },
139
139
  {
140
140
  "key": "ctrl+shift+m",
141
- "command": "viewService.toggleView",
141
+ "command": "ViewService.toggleView",
142
142
  "args": ["Output"]
143
143
  },
144
144
  {
145
145
  "key": "ctrl+Enter",
146
- "command": "viewletSourceControl.acceptInput",
146
+ "command": "SourceControl.acceptInput",
147
147
  "when": "focus.sourceControlInput"
148
148
  },
149
149
  {
150
150
  "key": "ctrl+n",
151
- "command": "viewletExplorer.newFile"
151
+ "command": "Explorer.newFile"
152
152
  },
153
153
  {
154
154
  "key": "ctrl+p",
155
- "command": "quickPick.show"
155
+ "command": "QuickPick.openEverythingQuickPick"
156
156
  },
157
157
  {
158
158
  "key": "ctrl+shift+p",
159
- "command": "quickPick.openCommandPalette"
159
+ "command": "QuickPick.openCommandPalette"
160
160
  },
161
161
  {
162
162
  "key": "shift shift",
163
- "command": "quickPick.openCommandPalette"
163
+ "command": "QuickPick.openCommandPalette"
164
164
  },
165
165
  {
166
166
  "key": "ctrl ctrl",
167
- "command": "quickPick.openCommandPalette"
167
+ "command": "QuickPick.openCommandPalette"
168
168
  },
169
169
  {
170
170
  "key": "alt alt",
171
- "command": "quickPick.openCommandPalette"
171
+ "command": "QuickPick.openCommandPalette"
172
172
  },
173
173
  {
174
174
  "key": "F1",
175
- "command": "quickPick.openCommandPalette"
175
+ "command": "QuickPick.openCommandPalette"
176
176
  },
177
177
  {
178
178
  "key": "Escape",
179
- "command": "quickPick.hide",
179
+ "command": "QuickPick.hide",
180
180
  "when": "focus.quickPickInput"
181
181
  },
182
182
  {
183
183
  "key": "ArrowUp",
184
- "command": "quickPick.focusPrevious",
184
+ "command": "QuickPick.focusPrevious",
185
185
  "when": "focus.quickPickInput"
186
186
  },
187
187
  {
188
188
  "key": "ArrowDown",
189
- "command": "quickPick.focusNext",
189
+ "command": "QuickPick.focusNext",
190
190
  "when": "focus.quickPickInput"
191
191
  },
192
192
  {
193
193
  "key": "PageUp",
194
- "command": "quickPick.focusFirst",
194
+ "command": "QuickPick.focusFirst",
195
195
  "when": "focus.quickPickInput"
196
196
  },
197
197
  {
198
198
  "key": "PageDown",
199
- "command": "quickPick.focusLast",
199
+ "command": "QuickPick.focusLast",
200
200
  "when": "focus.quickPickInput"
201
201
  },
202
202
  {
203
203
  "key": "Enter",
204
- "command": "quickPick.selectCurrentIndex",
204
+ "command": "QuickPick.selectCurrentIndex",
205
205
  "when": "focus.quickPickInput"
206
206
  },
207
207
  {
208
208
  "key": "ctrl+shift+x",
209
- "command": "focus.set",
209
+ "command": "Focus.set",
210
210
  "args": ["Extensions"]
211
211
  },
212
212
  {
213
213
  "key": "ctrl+shift+g",
214
- "command": "focus.set",
214
+ "command": "Focus.set",
215
215
  "args": ["Source Control"]
216
216
  },
217
217
  {
218
218
  "key": "ctrl+shift+e",
219
- "command": "focus.set",
219
+ "command": "Focus.set",
220
220
  "args": ["Explorer"]
221
221
  },
222
222
  {
223
223
  "key": "ctrl+shift+f",
224
- "command": "focus.set",
224
+ "command": "Focus.set",
225
225
  "args": ["Search"]
226
226
  },
227
227
  {
228
228
  "key": "ctrl+shift+Y",
229
- "command": "focus.set",
229
+ "command": "Focus.set",
230
230
  "args": ["Debug Console"]
231
231
  },
232
232
  {
233
233
  "key": "ctrl+shift+m",
234
- "command": "focus.set",
234
+ "command": "Focus.set",
235
235
  "args": ["Problems"]
236
236
  },
237
237
  {
238
238
  "key": "ArrowRight",
239
- "command": "viewletExplorer.handleArrowRight",
240
- "when": "focus.ViewletExplorer"
239
+ "command": "Explorer.handleArrowRight",
240
+ "when": "focus.Explorer"
241
241
  },
242
242
  {
243
243
  "key": "ArrowLeft",
244
- "command": "viewletExplorer.handleArrowLeft",
245
- "when": "focus.ViewletExplorer"
244
+ "command": "Explorer.handleArrowLeft",
245
+ "when": "focus.Explorer"
246
246
  },
247
247
  {
248
248
  "key": "Home",
249
- "command": "viewletExplorer.focusFirst",
250
- "when": "focus.ViewletExplorer"
249
+ "command": "Explorer.focusFirst",
250
+ "when": "focus.Explorer"
251
251
  },
252
252
  {
253
253
  "key": "End",
254
- "command": "viewletExplorer.focusLast",
255
- "when": "focus.ViewletExplorer"
254
+ "command": "Explorer.focusLast",
255
+ "when": "focus.Explorer"
256
256
  },
257
257
  {
258
258
  "key": "ArrowUp",
259
- "command": "viewletExplorer.focusPrevious",
260
- "when": "focus.ViewletExplorer"
259
+ "command": "Explorer.focusPrevious",
260
+ "when": "focus.Explorer"
261
261
  },
262
262
  {
263
263
  "key": "ArrowDown",
264
- "command": "viewletExplorer.focusNext",
265
- "when": "focus.ViewletExplorer"
264
+ "command": "Explorer.focusNext",
265
+ "when": "focus.Explorer"
266
266
  },
267
267
  {
268
268
  "key": "shift+*",
269
- "command": "viewletExplorer.expandAll",
270
- "when": "focus.ViewletExplorer"
269
+ "command": "Explorer.expandAll",
270
+ "when": "focus.Explorer"
271
271
  },
272
272
  {
273
273
  "key": "ctrl+ArrowLeft",
274
- "command": "viewletExplorer.collapseAll",
275
- "when": "focus.ViewletExplorer"
274
+ "command": "Explorer.collapseAll",
275
+ "when": "focus.Explorer"
276
276
  },
277
277
  {
278
278
  "key": "Home",
279
- "command": "viewletExtensions.focusFirst",
280
- "when": "focus.viewletExtensions"
279
+ "command": "Extensions.focusFirst",
280
+ "when": "focus.Extensions"
281
281
  },
282
282
  {
283
283
  "key": "End",
284
- "command": "viewletExtensions.focusLast",
285
- "when": "focus.viewletExtensions"
284
+ "command": "Extensions.focusLast",
285
+ "when": "focus.Extensions"
286
286
  },
287
287
  {
288
288
  "key": "PageUp",
289
- "command": "viewletExtensions.focusPreviousPage",
290
- "when": "focus.viewletExtensions"
289
+ "command": "Extensions.focusPreviousPage",
290
+ "when": "focus.Extensions"
291
291
  },
292
292
  {
293
293
  "key": "PageDown",
294
- "command": "viewletExtensions.focusNextPage",
295
- "when": "focus.viewletExtensions"
294
+ "command": "Extensions.focusNextPage",
295
+ "when": "focus.Extensions"
296
296
  },
297
297
  {
298
298
  "key": "ArrowUp",
299
- "command": "viewletExtensions.focusPrevious",
300
- "when": "focus.viewletExtensions"
299
+ "command": "Extensions.focusPrevious",
300
+ "when": "focus.Extensions"
301
301
  },
302
302
  {
303
303
  "key": "ArrowDown",
304
- "command": "viewletExtensions.focusNext",
305
- "when": "focus.viewletExtensions"
304
+ "command": "Extensions.focusNext",
305
+ "when": "focus.Extensions"
306
306
  },
307
307
  {
308
308
  "key": "ctrl+Space",
309
- "command": "viewletExtensions.toggleSuggest",
310
- "when": "focus.viewletExtensions"
309
+ "command": "Extensions.toggleSuggest",
310
+ "when": "focus.Extensions"
311
311
  },
312
312
  {
313
313
  "key": "F2",
314
- "command": "viewletExplorer.rename",
315
- "when": "focus.ViewletExplorer"
314
+ "command": "Explorer.rename",
315
+ "when": "focus.Explorer"
316
316
  },
317
317
  {
318
318
  "key": "Escape",
319
- "command": "viewletExplorer.cancelRename",
320
- "when": "focus.viewletExplorerRename"
319
+ "command": "Explorer.cancelRename",
320
+ "when": "focus.ExplorerRename"
321
321
  },
322
322
  {
323
323
  "key": "Enter",
324
- "command": "viewletExplorer.acceptRename",
325
- "when": "focus.viewletExplorerRename"
324
+ "command": "Explorer.acceptRename",
325
+ "when": "focus.ExplorerRename"
326
326
  },
327
327
  {
328
328
  "key": "Escape",
329
- "command": "viewletExplorer.cancelNewFile",
330
- "when": "focus.viewletExplorerCreateFile"
329
+ "command": "Explorer.cancelNewFile",
330
+ "when": "focus.ExplorerCreateFile"
331
331
  },
332
332
  {
333
333
  "key": "Enter",
334
- "command": "viewletExplorer.acceptNewFile",
335
- "when": "focus.viewletExplorerCreateFile"
334
+ "command": "Explorer.acceptNewFile",
335
+ "when": "focus.ExplorerCreateFile"
336
336
  },
337
337
  {
338
338
  "key": "Delete",
339
- "command": "viewletExplorer.removeDirent",
340
- "when": "focus.ViewletExplorer"
339
+ "command": "Explorer.removeDirent",
340
+ "when": "focus.Explorer"
341
341
  },
342
342
  {
343
343
  "key": "Space",
344
- "command": "viewletExplorer.handleClickCurrent",
345
- "when": "focus.ViewletExplorer"
344
+ "command": "Explorer.handleClickCurrent",
345
+ "when": "focus.Explorer"
346
346
  },
347
347
  {
348
348
  "key": "Enter",
349
- "command": "viewletExplorer.handleClickCurrent",
350
- "when": "focus.ViewletExplorer"
349
+ "command": "Explorer.handleClickCurrent",
350
+ "when": "focus.Explorer"
351
351
  },
352
352
  {
353
353
  "key": "Escape",
354
- "command": "editor.cancelSelection",
355
- "when": "focus.ViewletEditorText"
354
+ "command": "Editor.cancelSelection",
355
+ "when": "focus.EditorText"
356
356
  },
357
357
  {
358
358
  "key": "ctrl+z",
359
- "command": "editor.undo",
360
- "when": "focus.ViewletEditorText"
359
+ "command": "Editor.undo",
360
+ "when": "focus.EditorText"
361
361
  },
362
362
  {
363
363
  "key": "ctrl+,",
@@ -365,192 +365,192 @@
365
365
  },
366
366
  {
367
367
  "key": "ArrowLeft",
368
- "command": "editor.cursorLeft",
369
- "when": "focus.ViewletEditorText"
368
+ "command": "Editor.cursorLeft",
369
+ "when": "focus.EditorText"
370
370
  },
371
371
  {
372
372
  "key": "ArrowRight",
373
- "command": "editor.cursorRight",
374
- "when": "focus.ViewletEditorText"
373
+ "command": "Editor.cursorRight",
374
+ "when": "focus.EditorText"
375
375
  },
376
376
  {
377
377
  "key": "ArrowUp",
378
- "command": "editor.cursorUp",
379
- "when": "focus.ViewletEditorText"
378
+ "command": "Editor.cursorUp",
379
+ "when": "focus.EditorText"
380
380
  },
381
381
  {
382
382
  "key": "ArrowDown",
383
- "command": "editor.cursorDown",
384
- "when": "focus.ViewletEditorText"
383
+ "command": "Editor.cursorDown",
384
+ "when": "focus.EditorText"
385
385
  },
386
386
  {
387
387
  "key": "Backspace",
388
- "command": "editor.deleteLeft",
389
- "when": "focus.ViewletEditorText"
388
+ "command": "Editor.deleteLeft",
389
+ "when": "focus.EditorText"
390
390
  },
391
391
  {
392
392
  "key": "Delete",
393
- "command": "editor.deleteRight",
394
- "when": "focus.ViewletEditorText"
393
+ "command": "Editor.deleteRight",
394
+ "when": "focus.EditorText"
395
395
  },
396
396
  {
397
397
  "key": "Enter",
398
- "command": "editor.insertLineBreak",
399
- "when": "focus.ViewletEditorText"
398
+ "command": "Editor.insertLineBreak",
399
+ "when": "focus.EditorText"
400
400
  },
401
401
  {
402
402
  "key": "ctrl+shift+d",
403
- "command": "editor.copyLineDown",
404
- "when": "focus.ViewletEditorText"
403
+ "command": "Editor.copyLineDown",
404
+ "when": "focus.EditorText"
405
405
  },
406
406
  {
407
407
  "key": "ctrl+shift+d",
408
- "command": "focus.set",
408
+ "command": "Focus.set",
409
409
  "args": ["Run and Debug"]
410
410
  },
411
411
  {
412
412
  "key": "ctrl+shift+ArrowDown",
413
- "command": "editor.moveLineDown",
414
- "when": "focus.ViewletEditorText"
413
+ "command": "Editor.moveLineDown",
414
+ "when": "focus.EditorText"
415
415
  },
416
416
  {
417
417
  "key": "ctrl+shift+ArrowUp",
418
- "command": "editor.moveLineUp",
419
- "when": "focus.ViewletEditorText"
418
+ "command": "Editor.moveLineUp",
419
+ "when": "focus.EditorText"
420
420
  },
421
421
  {
422
422
  "key": "ctrl+Space",
423
- "command": "editorCompletion.open",
424
- "when": "focus.ViewletEditorText"
423
+ "command": "Editor.openCompletion",
424
+ "when": "focus.EditorText"
425
425
  },
426
426
  {
427
427
  "key": "F2",
428
- "command": "editorRename.open",
429
- "when": "focus.ViewletEditorText"
428
+ "command": "EditorRename.open",
429
+ "when": "focus.EditorText"
430
430
  },
431
431
  {
432
432
  "key": "Home",
433
- "command": "editor.cursorHome",
434
- "when": "focus.ViewletEditorText"
433
+ "command": "Editor.cursorHome",
434
+ "when": "focus.EditorText"
435
435
  },
436
436
  {
437
437
  "key": "End",
438
- "command": "editor.cursorEnd",
439
- "when": "focus.ViewletEditorText"
438
+ "command": "Editor.cursorEnd",
439
+ "when": "focus.EditorText"
440
440
  },
441
441
  {
442
442
  "key": "ctrl+/",
443
- "command": "editor.toggleComment",
444
- "when": "focus.ViewletEditorText"
443
+ "command": "Editor.toggleComment",
444
+ "when": "focus.EditorText"
445
445
  },
446
446
  {
447
447
  "key": "ArrowDown",
448
- "command": "activityBar.focusNext",
448
+ "command": "ActivityBar.focusNext",
449
449
  "when": "focus.activityBar"
450
450
  },
451
451
  {
452
452
  "key": "ArrowUp",
453
- "command": "activityBar.focusPrevious",
453
+ "command": "ActivityBar.focusPrevious",
454
454
  "when": "focus.activityBar"
455
455
  },
456
456
  {
457
457
  "key": "Home",
458
- "command": "activityBar.focusFirst",
458
+ "command": "ActivityBar.focusFirst",
459
459
  "when": "focus.activityBar"
460
460
  },
461
461
  {
462
462
  "key": "PageUp",
463
- "command": "activityBar.focusFirst",
463
+ "command": "ActivityBar.focusFirst",
464
464
  "when": "focus.activityBar"
465
465
  },
466
466
  {
467
467
  "key": "PageDown",
468
- "command": "activityBar.focusLast",
468
+ "command": "ActivityBar.focusLast",
469
469
  "when": "focus.activityBar"
470
470
  },
471
471
  {
472
472
  "key": "End",
473
- "command": "activityBar.focusLast",
473
+ "command": "ActivityBar.focusLast",
474
474
  "when": "focus.activityBar"
475
475
  },
476
476
  {
477
477
  "key": "Space",
478
- "command": "activityBar.selectCurrent",
478
+ "command": "ActivityBar.selectCurrent",
479
479
  "when": "focus.activityBar"
480
480
  },
481
481
  {
482
482
  "key": "Enter",
483
- "command": "activityBar.selectCurrent",
483
+ "command": "ActivityBar.selectCurrent",
484
484
  "when": "focus.activityBar"
485
485
  },
486
486
  {
487
487
  "key": "Home",
488
- "command": "activityBar.focusFirst",
488
+ "command": "ActivityBar.focusFirst",
489
489
  "when": "focus.activityBar"
490
490
  },
491
491
  {
492
492
  "key": "End",
493
- "command": "activityBar.focusLast",
493
+ "command": "ActivityBar.focusLast",
494
494
  "when": "focus.activityBar"
495
495
  },
496
496
  {
497
497
  "key": "ctrl+c",
498
- "command": "editor.copy",
499
- "when": "focus.ViewletEditorText"
498
+ "command": "Editor.copy",
499
+ "when": "focus.EditorText"
500
500
  },
501
501
  {
502
502
  "key": "ctrl+a",
503
- "command": "editor.selectAll",
504
- "when": "focus.ViewletEditorText"
503
+ "command": "Editor.selectAll",
504
+ "when": "focus.EditorText"
505
505
  },
506
506
  {
507
507
  "key": "alt+ArrowLeft",
508
- "command": "editor.cursorWordPartLeft",
509
- "when": "focus.ViewletEditorText"
508
+ "command": "Editor.cursorWordPartLeft",
509
+ "when": "focus.EditorText"
510
510
  },
511
511
  {
512
512
  "key": "alt+ArrowRight",
513
- "command": "editor.cursorWordPartRight",
514
- "when": "focus.ViewletEditorText"
513
+ "command": "Editor.cursorWordPartRight",
514
+ "when": "focus.EditorText"
515
515
  },
516
516
  {
517
517
  "key": "ctrl+w",
518
- "command": "main.closeActiveEditor"
518
+ "command": "Main.closeActiveEditor"
519
519
  },
520
520
  {
521
521
  "key": "ctrl+shift+i",
522
- "command": "developer.toggleDeveloperTools",
522
+ "command": "Developer.toggleDeveloperTools",
523
523
  "when": "browser.electron"
524
524
  },
525
525
  {
526
526
  "key": "F6",
527
- "command": "navigation.focusNextPart"
527
+ "command": "Navigation.focusNextPart"
528
528
  },
529
529
  {
530
530
  "key": "shift+F6",
531
- "command": "navigation.focusPreviousPart"
531
+ "command": "Navigation.focusPreviousPart"
532
532
  },
533
533
  {
534
534
  "key": "alt+F3",
535
- "command": "editor.selectAllOccurrences",
536
- "when": "focus.ViewletEditorText"
535
+ "command": "Editor.selectAllOccurrences",
536
+ "when": "focus.EditorText"
537
537
  },
538
538
  {
539
539
  "key": "ctrl+g",
540
- "command": "quickPick.openGoToLine"
540
+ "command": "QuickPick.openGoToLine"
541
541
  },
542
542
  {
543
543
  "key": "ctrl+shift+Space",
544
- "command": "editor.selectInsideString",
544
+ "command": "Editor.selectInsideString",
545
545
  "when": "focus.editor"
546
546
  },
547
547
  {
548
548
  "key": "ctrl+Tab",
549
- "command": "main.focusNext"
549
+ "command": "Main.focusNext"
550
550
  },
551
551
  {
552
552
  "key": "ctrl+shift+Tab",
553
- "command": "main.focusPrevious"
553
+ "command": "Main.focusPrevious"
554
554
  },
555
555
  {
556
556
  "key": "Escape",
@@ -559,62 +559,62 @@
559
559
  },
560
560
  {
561
561
  "key": "ctrl+v",
562
- "command": "viewletExplorer.handlePaste",
563
- "when": "focus.ViewletExplorer"
562
+ "command": "Explorer.handlePaste",
563
+ "when": "focus.Explorer"
564
564
  },
565
565
  {
566
566
  "key": "ctrl+c",
567
- "command": "viewletExplorer.handleCopy",
568
- "when": "focus.ViewletExplorer"
567
+ "command": "Explorer.handleCopy",
568
+ "when": "focus.Explorer"
569
569
  },
570
570
  {
571
571
  "key": "ArrowDown",
572
- "command": "menu.focusNext",
572
+ "command": "Menu.focusNext",
573
573
  "when": "focus.menu"
574
574
  },
575
575
  {
576
576
  "key": "ArrowUp",
577
- "command": "menu.focusPrevious",
577
+ "command": "Menu.focusPrevious",
578
578
  "when": "focus.menu"
579
579
  },
580
580
  {
581
581
  "key": "Enter",
582
- "command": "menu.selectCurrent",
582
+ "command": "Menu.selectCurrent",
583
583
  "when": "focus.menu"
584
584
  },
585
585
  {
586
586
  "key": "Space",
587
- "command": "menu.selectCurrent",
587
+ "command": "Menu.selectCurrent",
588
588
  "when": "focus.menu"
589
589
  },
590
590
  {
591
591
  "key": "Home",
592
- "command": "menu.focusFirst",
592
+ "command": "Menu.focusFirst",
593
593
  "when": "focus.menu"
594
594
  },
595
595
  {
596
596
  "key": "End",
597
- "command": "menu.focusLast",
597
+ "command": "Menu.focusLast",
598
598
  "when": "focus.menu"
599
599
  },
600
600
  {
601
601
  "key": "Escape",
602
- "command": "menu.hide",
602
+ "command": "Menu.hide",
603
603
  "when": "focus.menu"
604
604
  },
605
605
  {
606
606
  "key": "ctrl+shift+n",
607
- "command": "workbench.newWindow",
607
+ "command": "Workbench.newWindow",
608
608
  "when": "browser.electron"
609
609
  },
610
610
  {
611
611
  "key": "Tab",
612
- "command": "menu.noop",
612
+ "command": "Menu.noop",
613
613
  "when": "focus.menu"
614
614
  },
615
615
  {
616
616
  "key": "Shift+Tab",
617
- "command": "menu.noop",
617
+ "command": "Menu.noop",
618
618
  "when": "focus.menu"
619
619
  },
620
620
  {
@@ -623,27 +623,27 @@
623
623
  },
624
624
  {
625
625
  "key": "ArrowDown",
626
- "command": "viewletLocations.focusNext",
626
+ "command": "Locations.focusNext",
627
627
  "when": "focus.locationList"
628
628
  },
629
629
  {
630
630
  "key": "ArrowUp",
631
- "command": "viewletLocations.focusPrevious",
631
+ "command": "Locations.focusPrevious",
632
632
  "when": "focus.locationList"
633
633
  },
634
634
  {
635
635
  "key": "Home",
636
- "command": "viewletLocations.focusFirst",
636
+ "command": "Locations.focusFirst",
637
637
  "when": "focus.locationList"
638
638
  },
639
639
  {
640
640
  "key": "End",
641
- "command": "viewletLocations.focusLast",
641
+ "command": "Locations.focusLast",
642
642
  "when": "focus.locationList"
643
643
  },
644
644
  {
645
645
  "key": "Enter",
646
- "command": "viewletLocations.selectCurrent",
646
+ "command": "Locations.selectCurrent",
647
647
  "when": "focus.locationList"
648
648
  }
649
649
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.0.22",
3
+ "version": "0.0.25",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -31,8 +31,8 @@
31
31
  "verror": "^1.10.1",
32
32
  "ws": "^8.8.0",
33
33
  "xdg-basedir": "^5.1.0",
34
- "@lvce-editor/pty-host": "0.0.22",
35
- "@lvce-editor/extension-host": "0.0.22"
34
+ "@lvce-editor/pty-host": "0.0.25",
35
+ "@lvce-editor/extension-host": "0.0.25"
36
36
  },
37
37
  "optionalDependencies": {
38
38
  "electron-clipboard-ex": "^1.3.3",
@@ -27,7 +27,7 @@ export const handleError = (error) => {
27
27
  const prettyError = preparePrettyError(error)
28
28
  Socket.send({
29
29
  jsonrpc: '2.0',
30
- method: /* Dialog.showErrorDialogWithOptions */ 1494,
30
+ method: /* Dialog.showErrorDialogWithOptions */ 'Dialog.showMessage',
31
31
  params: [
32
32
  {
33
33
  message: prettyError.message,
@@ -28,10 +28,10 @@ import * as ExtensionHostTypeDefinition from './ExtensionHostTypeDefinition.js'
28
28
  import * as ExtensionHostClosingTag from './ExtensionHostClosingTag.js'
29
29
  import * as ExtensionHostSemanticTokens from './ExtensionHostSemanticTokens.js'
30
30
 
31
+ // prettier-ignore
31
32
  export const __initialize__ = () => {
32
33
  Command.register('ExtensionHost.getCommands', ExtensionHostCommand.getCommandsIpc)
33
34
  Command.register('ExtensionHostCompletion.execute', ExtensionHost.wrapExtensionHostCommand(ExtensionHostCompletion.executeCompletionProvider))
34
- // Command.register(385, ExtensionHost.textDocumentSync)
35
35
  Command.register('ExtensionHost.executeTabCompletionProvider', ExtensionHost.wrapExtensionHostCommand(ExtensionHostTabCompletion.executeTabCompletionProvider))
36
36
  Command.register('ExtensionHost.getLanguages', ExtensionHostLanguages.getLanguages)
37
37
  Command.register('ExtensionHost.getIconThemeJson', ExtensionHostIconTheme.getIconTheme)
@@ -43,7 +43,6 @@ export const __initialize__ = () => {
43
43
  Command.register('ExtensionHost.getSourceControlBadgeCount', ExtensionHost.wrapExtensionHostCommand(ExtensionHostSourceControl.getSourceControlBadgeCount))
44
44
  Command.register('ExtensionHost.format', ExtensionHost.wrapExtensionHostCommand(ExtensionHostFormatting.format))
45
45
  Command.register('ExtensionHost.executeCommand', ExtensionHost.wrapExtensionHostCommand(ExtensionHostCommand.executeCommand))
46
-
47
46
  Command.register('ExtensionHost.sourceControlGetChangedFiles', ExtensionHost.wrapExtensionHostCommand(ExtensionHostSourceControl.getSourceControlChangedFiles))
48
47
  Command.register('ExtensionHost.getLanguageConfiguration', ExtensionHostLanguages.getLanguageConfiguration)
49
48
  Command.register('ExtensionHost.getColorThemes', ExtensionHostColorTheme.getColorThemes)
@@ -10,6 +10,10 @@ import * as Platform from '../Platform/Platform.js'
10
10
  import * as Queue from '../Queue/Queue.js'
11
11
  import path from 'node:path'
12
12
 
13
+ const isLanguageBasics = (extension) => {
14
+ return extension.id.includes('language-basics')
15
+ }
16
+
13
17
  export const state = {
14
18
  async getExtensions() {
15
19
  // TODO only read from env once
@@ -17,7 +21,7 @@ export const state = {
17
21
  if (process.env.ONLY_EXTENSION) {
18
22
  const absolutePath = path.resolve(process.env.ONLY_EXTENSION)
19
23
  const onlyExtension = await getExtensionManifests([absolutePath])
20
- return [...builtinExtensions, ...onlyExtension]
24
+ return [...builtinExtensions.filter(isLanguageBasics), ...onlyExtension]
21
25
  }
22
26
  const installedExtensions = await getInstalledExtensions()
23
27
  return [...builtinExtensions, ...installedExtensions]