@codingame/monaco-vscode-notebook-service-override 32.0.1 → 33.0.7
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.
- package/package.json +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +59 -59
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +31 -31
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +1 -1
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/repl.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.js +14 -14
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-notebook-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - notebook service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
19
|
-
"@codingame/monaco-vscode-katex-common": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "33.0.7",
|
|
19
|
+
"@codingame/monaco-vscode-katex-common": "33.0.7"
|
|
20
20
|
},
|
|
21
21
|
"main": "index.js",
|
|
22
22
|
"module": "index.js",
|
|
@@ -176,8 +176,8 @@ let EmptyTextEditorHintContentWidget = class EmptyTextEditorHintContentWidget ex
|
|
|
176
176
|
getActions: () => {
|
|
177
177
|
return [{
|
|
178
178
|
id: "workench.action.disableEmptyEditorHint",
|
|
179
|
-
label: ( localize(
|
|
180
|
-
tooltip: ( localize(
|
|
179
|
+
label: ( localize(8289, "Disable Empty Editor Hint")),
|
|
180
|
+
tooltip: ( localize(8289, "Disable Empty Editor Hint")),
|
|
181
181
|
enabled: true,
|
|
182
182
|
class: undefined,
|
|
183
183
|
run: () => {
|
|
@@ -229,12 +229,12 @@ let EmptyTextEditorHintContentWidget = class EmptyTextEditorHintContentWidget ex
|
|
|
229
229
|
const keybindingsLookup = [askSomethingCommandId, ChangeLanguageAction.ID];
|
|
230
230
|
const keybindingLabels = ( keybindingsLookup.map(id => this.keybindingService.lookupKeybinding(id)?.getLabel()));
|
|
231
231
|
const hintMsg = (hasInlineChatProvider ? ( localize(
|
|
232
|
-
|
|
232
|
+
8290,
|
|
233
233
|
"[[Generate code]] ({0}), or [[select a language]] ({1}). Start typing to dismiss or [[don't show]] this again.",
|
|
234
234
|
keybindingLabels.at(0) ?? "",
|
|
235
235
|
keybindingLabels.at(1) ?? ""
|
|
236
236
|
)) : ( localize(
|
|
237
|
-
|
|
237
|
+
8291,
|
|
238
238
|
"[[Select a language]] ({0}) to get started. Start typing to dismiss or [[don't show]] this again.",
|
|
239
239
|
keybindingLabels.at(1) ?? ""
|
|
240
240
|
))).replaceAll(" ()", "");
|
|
@@ -244,11 +244,11 @@ let EmptyTextEditorHintContentWidget = class EmptyTextEditorHintContentWidget ex
|
|
|
244
244
|
});
|
|
245
245
|
hintElement.style.fontStyle = "italic";
|
|
246
246
|
const ariaLabel = hasInlineChatProvider ? ( localize(
|
|
247
|
-
|
|
247
|
+
8292,
|
|
248
248
|
"Execute {0} to ask a question, execute {1} to select a language and get started. Start typing to dismiss.",
|
|
249
249
|
...keybindingLabels
|
|
250
250
|
)) : ( localize(
|
|
251
|
-
|
|
251
|
+
8293,
|
|
252
252
|
"Execute {0} to select a language and get started. Start typing to dismiss.",
|
|
253
253
|
...keybindingLabels
|
|
254
254
|
));
|
|
@@ -271,7 +271,7 @@ let EmptyTextEditorHintContentWidget = class EmptyTextEditorHintContentWidget ex
|
|
|
271
271
|
} = this.getHint();
|
|
272
272
|
this.domNode.append(hintElement);
|
|
273
273
|
this.ariaLabel = ariaLabel.concat(( localize(
|
|
274
|
-
|
|
274
|
+
8294,
|
|
275
275
|
" Toggle {0} in settings to disable this hint.",
|
|
276
276
|
AccessibilityVerbositySettingId.EmptyEditorHint
|
|
277
277
|
)));
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js
CHANGED
|
@@ -27,7 +27,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
27
27
|
constructor() {
|
|
28
28
|
super({
|
|
29
29
|
id: MOVE_CELL_UP_COMMAND_ID,
|
|
30
|
-
title: ( localize2(
|
|
30
|
+
title: ( localize2(11540, "Move Cell Up")),
|
|
31
31
|
icon: moveUpIcon,
|
|
32
32
|
keybinding: {
|
|
33
33
|
primary: KeyMod.Alt | KeyCode.UpArrow,
|
|
@@ -50,7 +50,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
50
50
|
constructor() {
|
|
51
51
|
super({
|
|
52
52
|
id: MOVE_CELL_DOWN_COMMAND_ID,
|
|
53
|
-
title: ( localize2(
|
|
53
|
+
title: ( localize2(11541, "Move Cell Down")),
|
|
54
54
|
icon: moveDownIcon,
|
|
55
55
|
keybinding: {
|
|
56
56
|
primary: KeyMod.Alt | KeyCode.DownArrow,
|
|
@@ -73,7 +73,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
73
73
|
constructor() {
|
|
74
74
|
super({
|
|
75
75
|
id: COPY_CELL_UP_COMMAND_ID,
|
|
76
|
-
title: ( localize2(
|
|
76
|
+
title: ( localize2(11542, "Copy Cell Up")),
|
|
77
77
|
keybinding: {
|
|
78
78
|
primary: KeyMod.Alt | KeyMod.Shift | KeyCode.UpArrow,
|
|
79
79
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( InputFocusedContext.toNegated()))),
|
|
@@ -89,7 +89,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
89
89
|
constructor() {
|
|
90
90
|
super({
|
|
91
91
|
id: COPY_CELL_DOWN_COMMAND_ID,
|
|
92
|
-
title: ( localize2(
|
|
92
|
+
title: ( localize2(11543, "Copy Cell Down")),
|
|
93
93
|
keybinding: {
|
|
94
94
|
primary: KeyMod.Alt | KeyMod.Shift | KeyCode.DownArrow,
|
|
95
95
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( InputFocusedContext.toNegated()))),
|
|
@@ -115,7 +115,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
115
115
|
constructor() {
|
|
116
116
|
super({
|
|
117
117
|
id: SPLIT_CELL_COMMAND_ID,
|
|
118
|
-
title: ( localize2(
|
|
118
|
+
title: ( localize2(11544, "Split Cell")),
|
|
119
119
|
menu: {
|
|
120
120
|
id: MenuId.NotebookCellTitle,
|
|
121
121
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE, ( NOTEBOOK_CELL_INPUT_COLLAPSED.toNegated()))),
|
|
@@ -187,7 +187,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
187
187
|
constructor() {
|
|
188
188
|
super({
|
|
189
189
|
id: JOIN_CELL_ABOVE_COMMAND_ID,
|
|
190
|
-
title: ( localize2(
|
|
190
|
+
title: ( localize2(11545, "Join With Previous Cell")),
|
|
191
191
|
keybinding: {
|
|
192
192
|
when: NOTEBOOK_EDITOR_FOCUSED,
|
|
193
193
|
primary: KeyMod.WinCtrl | KeyMod.Alt | KeyMod.Shift | KeyCode.KeyJ,
|
|
@@ -210,7 +210,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
210
210
|
constructor() {
|
|
211
211
|
super({
|
|
212
212
|
id: JOIN_CELL_BELOW_COMMAND_ID,
|
|
213
|
-
title: ( localize2(
|
|
213
|
+
title: ( localize2(11546, "Join With Next Cell")),
|
|
214
214
|
keybinding: {
|
|
215
215
|
when: NOTEBOOK_EDITOR_FOCUSED,
|
|
216
216
|
primary: KeyMod.WinCtrl | KeyMod.Alt | KeyCode.KeyJ,
|
|
@@ -233,7 +233,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
233
233
|
constructor() {
|
|
234
234
|
super({
|
|
235
235
|
id: JOIN_SELECTED_CELLS_COMMAND_ID,
|
|
236
|
-
title: ( localize2(
|
|
236
|
+
title: ( localize2(11547, "Join Selected Cells")),
|
|
237
237
|
menu: {
|
|
238
238
|
id: MenuId.NotebookCellTitle,
|
|
239
239
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE)),
|
|
@@ -254,7 +254,7 @@ registerAction2(class ChangeCellToCodeAction extends NotebookMultiCellAction {
|
|
|
254
254
|
constructor() {
|
|
255
255
|
super({
|
|
256
256
|
id: CHANGE_CELL_TO_CODE_COMMAND_ID,
|
|
257
|
-
title: ( localize2(
|
|
257
|
+
title: ( localize2(11548, "Change Cell to Code")),
|
|
258
258
|
keybinding: {
|
|
259
259
|
when: ( ContextKeyExpr.and(
|
|
260
260
|
NOTEBOOK_EDITOR_FOCUSED,
|
|
@@ -285,7 +285,7 @@ registerAction2(class ChangeCellToMarkdownAction extends NotebookMultiCellAction
|
|
|
285
285
|
constructor() {
|
|
286
286
|
super({
|
|
287
287
|
id: CHANGE_CELL_TO_MARKDOWN_COMMAND_ID,
|
|
288
|
-
title: ( localize2(
|
|
288
|
+
title: ( localize2(11549, "Change Cell to Markdown")),
|
|
289
289
|
keybinding: {
|
|
290
290
|
when: ( ContextKeyExpr.and(
|
|
291
291
|
NOTEBOOK_EDITOR_FOCUSED,
|
|
@@ -324,7 +324,7 @@ registerAction2(class CollapseCellInputAction extends NotebookMultiCellAction {
|
|
|
324
324
|
constructor() {
|
|
325
325
|
super({
|
|
326
326
|
id: COLLAPSE_CELL_INPUT_COMMAND_ID,
|
|
327
|
-
title: ( localize2(
|
|
327
|
+
title: ( localize2(11550, "Collapse Cell Input")),
|
|
328
328
|
keybinding: {
|
|
329
329
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( NOTEBOOK_CELL_INPUT_COLLAPSED.toNegated()), ( InputFocusedContext.toNegated()))),
|
|
330
330
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyMod.CtrlCmd | KeyCode.KeyC),
|
|
@@ -347,7 +347,7 @@ registerAction2(class ExpandCellInputAction extends NotebookMultiCellAction {
|
|
|
347
347
|
constructor() {
|
|
348
348
|
super({
|
|
349
349
|
id: EXPAND_CELL_INPUT_COMMAND_ID,
|
|
350
|
-
title: ( localize2(
|
|
350
|
+
title: ( localize2(11551, "Expand Cell Input")),
|
|
351
351
|
keybinding: {
|
|
352
352
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_CELL_INPUT_COLLAPSED)),
|
|
353
353
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyMod.CtrlCmd | KeyCode.KeyC),
|
|
@@ -370,7 +370,7 @@ registerAction2(class CollapseCellOutputAction extends NotebookMultiCellAction {
|
|
|
370
370
|
constructor() {
|
|
371
371
|
super({
|
|
372
372
|
id: COLLAPSE_CELL_OUTPUT_COMMAND_ID,
|
|
373
|
-
title: ( localize2(
|
|
373
|
+
title: ( localize2(11552, "Collapse Cell Output")),
|
|
374
374
|
keybinding: {
|
|
375
375
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( NOTEBOOK_CELL_OUTPUT_COLLAPSED.toNegated()), ( InputFocusedContext.toNegated()), NOTEBOOK_CELL_HAS_OUTPUTS)),
|
|
376
376
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyT),
|
|
@@ -390,7 +390,7 @@ registerAction2(class ExpandCellOuputAction extends NotebookMultiCellAction {
|
|
|
390
390
|
constructor() {
|
|
391
391
|
super({
|
|
392
392
|
id: EXPAND_CELL_OUTPUT_COMMAND_ID,
|
|
393
|
-
title: ( localize2(
|
|
393
|
+
title: ( localize2(11553, "Expand Cell Output")),
|
|
394
394
|
keybinding: {
|
|
395
395
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_CELL_OUTPUT_COLLAPSED)),
|
|
396
396
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyT),
|
|
@@ -411,9 +411,9 @@ registerAction2(class extends NotebookMultiCellAction {
|
|
|
411
411
|
super({
|
|
412
412
|
id: TOGGLE_CELL_OUTPUTS_COMMAND_ID,
|
|
413
413
|
precondition: NOTEBOOK_CELL_LIST_FOCUSED,
|
|
414
|
-
title: ( localize2(
|
|
414
|
+
title: ( localize2(11554, "Toggle Outputs")),
|
|
415
415
|
metadata: {
|
|
416
|
-
description: ( localize(
|
|
416
|
+
description: ( localize(11554, "Toggle Outputs")),
|
|
417
417
|
args: cellExecutionArgs
|
|
418
418
|
}
|
|
419
419
|
});
|
|
@@ -437,7 +437,7 @@ registerAction2(class CollapseAllCellInputsAction extends NotebookMultiCellActio
|
|
|
437
437
|
constructor() {
|
|
438
438
|
super({
|
|
439
439
|
id: COLLAPSE_ALL_CELL_INPUTS_COMMAND_ID,
|
|
440
|
-
title: ( localize2(
|
|
440
|
+
title: ( localize2(11555, "Collapse All Cell Inputs")),
|
|
441
441
|
f1: true
|
|
442
442
|
});
|
|
443
443
|
}
|
|
@@ -449,7 +449,7 @@ registerAction2(class ExpandAllCellInputsAction extends NotebookMultiCellAction
|
|
|
449
449
|
constructor() {
|
|
450
450
|
super({
|
|
451
451
|
id: EXPAND_ALL_CELL_INPUTS_COMMAND_ID,
|
|
452
|
-
title: ( localize2(
|
|
452
|
+
title: ( localize2(11556, "Expand All Cell Inputs")),
|
|
453
453
|
f1: true
|
|
454
454
|
});
|
|
455
455
|
}
|
|
@@ -461,7 +461,7 @@ registerAction2(class CollapseAllCellOutputsAction extends NotebookMultiCellActi
|
|
|
461
461
|
constructor() {
|
|
462
462
|
super({
|
|
463
463
|
id: COLLAPSE_ALL_CELL_OUTPUTS_COMMAND_ID,
|
|
464
|
-
title: ( localize2(
|
|
464
|
+
title: ( localize2(11557, "Collapse All Cell Outputs")),
|
|
465
465
|
f1: true
|
|
466
466
|
});
|
|
467
467
|
}
|
|
@@ -473,7 +473,7 @@ registerAction2(class ExpandAllCellOutputsAction extends NotebookMultiCellAction
|
|
|
473
473
|
constructor() {
|
|
474
474
|
super({
|
|
475
475
|
id: EXPAND_ALL_CELL_OUTPUTS_COMMAND_ID,
|
|
476
|
-
title: ( localize2(
|
|
476
|
+
title: ( localize2(11558, "Expand All Cell Outputs")),
|
|
477
477
|
f1: true
|
|
478
478
|
});
|
|
479
479
|
}
|
|
@@ -485,7 +485,7 @@ registerAction2(class ToggleCellOutputScrolling extends NotebookMultiCellAction
|
|
|
485
485
|
constructor() {
|
|
486
486
|
super({
|
|
487
487
|
id: TOGGLE_CELL_OUTPUT_SCROLLING,
|
|
488
|
-
title: ( localize2(
|
|
488
|
+
title: ( localize2(11559, "Toggle Scroll Cell Output")),
|
|
489
489
|
keybinding: {
|
|
490
490
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( InputFocusedContext.toNegated()), NOTEBOOK_CELL_HAS_OUTPUTS)),
|
|
491
491
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyY),
|
|
@@ -20,7 +20,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
20
20
|
constructor() {
|
|
21
21
|
super({
|
|
22
22
|
id: OPEN_CELL_FAILURE_ACTIONS_COMMAND_ID,
|
|
23
|
-
title: ( localize2(
|
|
23
|
+
title: ( localize2(11560, "Show Cell Failure Actions")),
|
|
24
24
|
precondition: ( ContextKeyExpr.and(NOTEBOOK_CELL_FOCUSED, NOTEBOOK_CELL_HAS_ERROR_DIAGNOSTICS, ( NOTEBOOK_CELL_EDITOR_FOCUSED.toNegated()))),
|
|
25
25
|
f1: true,
|
|
26
26
|
keybinding: {
|
|
@@ -44,7 +44,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
44
44
|
const editor = findTargetCellEditor(context, context.cell);
|
|
45
45
|
if (editor) {
|
|
46
46
|
const controller = CodeActionController.get(editor);
|
|
47
|
-
controller?.manualTriggerAtCurrentPosition(( localize(
|
|
47
|
+
controller?.manualTriggerAtCurrentPosition(( localize(11561, "No code actions available")), CodeActionTriggerSource.Default, {
|
|
48
48
|
include: CodeActionKind.QuickFix
|
|
49
49
|
});
|
|
50
50
|
}
|
|
@@ -56,7 +56,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
56
56
|
constructor() {
|
|
57
57
|
super({
|
|
58
58
|
id: FIX_CELL_ERROR_COMMAND_ID,
|
|
59
|
-
title: ( localize2(
|
|
59
|
+
title: ( localize2(11562, "Fix Cell Error")),
|
|
60
60
|
precondition: ( ContextKeyExpr.and(NOTEBOOK_CELL_FOCUSED, NOTEBOOK_CELL_HAS_ERROR_DIAGNOSTICS, ( NOTEBOOK_CELL_EDITOR_FOCUSED.toNegated()))),
|
|
61
61
|
f1: true
|
|
62
62
|
});
|
|
@@ -92,7 +92,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
92
92
|
constructor() {
|
|
93
93
|
super({
|
|
94
94
|
id: EXPLAIN_CELL_ERROR_COMMAND_ID,
|
|
95
|
-
title: ( localize2(
|
|
95
|
+
title: ( localize2(11563, "Explain Cell Error")),
|
|
96
96
|
precondition: ( ContextKeyExpr.and(NOTEBOOK_CELL_FOCUSED, NOTEBOOK_CELL_HAS_ERROR_DIAGNOSTICS, ( NOTEBOOK_CELL_EDITOR_FOCUSED.toNegated()))),
|
|
97
97
|
f1: true
|
|
98
98
|
});
|
|
@@ -47,7 +47,7 @@ let DiagnosticCellStatusBarItem = class DiagnosticCellStatusBarItem extends Disp
|
|
|
47
47
|
async updateSparkleItem(error) {
|
|
48
48
|
let item;
|
|
49
49
|
if (error?.location && this.hasNotebookAgent()) {
|
|
50
|
-
const tooltip = this.keybindingService.appendKeybinding(( localize(
|
|
50
|
+
const tooltip = this.keybindingService.appendKeybinding(( localize(11564, "Quick Actions")), OPEN_CELL_FAILURE_ACTIONS_COMMAND_ID);
|
|
51
51
|
item = {
|
|
52
52
|
text: `$(sparkle)`,
|
|
53
53
|
tooltip,
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js
CHANGED
|
@@ -39,7 +39,7 @@ let CellStatusBarLanguagePickerProvider = class CellStatusBarLanguagePickerProvi
|
|
|
39
39
|
displayLanguage = this._languageService.getLanguageName(displayLanguage) ?? displayLanguage;
|
|
40
40
|
} else {
|
|
41
41
|
const searchTooltip = ( localize(
|
|
42
|
-
|
|
42
|
+
11572,
|
|
43
43
|
"Unknown cell language. Click to search for '{0}' extensions",
|
|
44
44
|
cell.language
|
|
45
45
|
));
|
|
@@ -59,7 +59,7 @@ let CellStatusBarLanguagePickerProvider = class CellStatusBarLanguagePickerProvi
|
|
|
59
59
|
statusBarItems.push({
|
|
60
60
|
text: displayLanguage,
|
|
61
61
|
command: CHANGE_CELL_LANGUAGE,
|
|
62
|
-
tooltip: ( localize(
|
|
62
|
+
tooltip: ( localize(11573, "Select Cell Language Mode")),
|
|
63
63
|
alignment: CellStatusbarAlignment.Right,
|
|
64
64
|
priority: -Number.MAX_SAFE_INTEGER
|
|
65
65
|
});
|
|
@@ -125,7 +125,7 @@ let CellStatusBarLanguageDetectionProvider = class CellStatusBarLanguageDetectio
|
|
|
125
125
|
const items = [];
|
|
126
126
|
if (cached.guess && currentLanguageId !== cached.guess) {
|
|
127
127
|
const detectedName = this._languageService.getLanguageName(cached.guess) || cached.guess;
|
|
128
|
-
const tooltip = this._keybindingService.appendKeybinding(( localize(
|
|
128
|
+
const tooltip = this._keybindingService.appendKeybinding(( localize(11574, "Accept Detected Language: {0}", detectedName)), DETECT_CELL_LANGUAGE);
|
|
129
129
|
items.push({
|
|
130
130
|
text: "$(lightbulb-autofix)",
|
|
131
131
|
command: DETECT_CELL_LANGUAGE,
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js
CHANGED
|
@@ -431,7 +431,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
431
431
|
constructor() {
|
|
432
432
|
super({
|
|
433
433
|
id: COPY_CELL_COMMAND_ID,
|
|
434
|
-
title: ( localize(
|
|
434
|
+
title: ( localize(11576, "Copy Cell")),
|
|
435
435
|
menu: {
|
|
436
436
|
id: MenuId.NotebookCellTitle,
|
|
437
437
|
when: NOTEBOOK_EDITOR_FOCUSED,
|
|
@@ -457,7 +457,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
457
457
|
constructor() {
|
|
458
458
|
super({
|
|
459
459
|
id: CUT_CELL_COMMAND_ID,
|
|
460
|
-
title: ( localize(
|
|
460
|
+
title: ( localize(11577, "Cut Cell")),
|
|
461
461
|
menu: {
|
|
462
462
|
id: MenuId.NotebookCellTitle,
|
|
463
463
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE)),
|
|
@@ -483,7 +483,7 @@ registerAction2(class extends NotebookAction {
|
|
|
483
483
|
constructor() {
|
|
484
484
|
super({
|
|
485
485
|
id: PASTE_CELL_COMMAND_ID,
|
|
486
|
-
title: ( localize(
|
|
486
|
+
title: ( localize(11578, "Paste Cell")),
|
|
487
487
|
menu: {
|
|
488
488
|
id: MenuId.NotebookCellTitle,
|
|
489
489
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE)),
|
|
@@ -521,7 +521,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
521
521
|
constructor() {
|
|
522
522
|
super({
|
|
523
523
|
id: PASTE_CELL_ABOVE_COMMAND_ID,
|
|
524
|
-
title: ( localize(
|
|
524
|
+
title: ( localize(11579, "Paste Cell Above")),
|
|
525
525
|
keybinding: {
|
|
526
526
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey))),
|
|
527
527
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyV,
|
|
@@ -569,7 +569,7 @@ registerAction2(class extends Action2 {
|
|
|
569
569
|
constructor() {
|
|
570
570
|
super({
|
|
571
571
|
id: "workbench.action.toggleNotebookClipboardLog",
|
|
572
|
-
title: ( localize2(
|
|
572
|
+
title: ( localize2(11580, "Toggle Notebook Clipboard Troubleshooting")),
|
|
573
573
|
category: Categories.Developer,
|
|
574
574
|
f1: true
|
|
575
575
|
});
|
|
@@ -586,7 +586,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
586
586
|
constructor() {
|
|
587
587
|
super({
|
|
588
588
|
id: "notebook.cell.output.selectAll",
|
|
589
|
-
title: ( localize(
|
|
589
|
+
title: ( localize(11581, "Select All")),
|
|
590
590
|
keybinding: {
|
|
591
591
|
primary: KeyMod.CtrlCmd | KeyCode.KeyA,
|
|
592
592
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED)),
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js
CHANGED
|
@@ -125,18 +125,18 @@ let KernelStatus = class KernelStatus extends Disposable {
|
|
|
125
125
|
}
|
|
126
126
|
const tooltip = kernel.description ?? kernel.detail ?? kernel.label;
|
|
127
127
|
this._kernelInfoElement.add(this._statusbarService.addEntry({
|
|
128
|
-
name: ( localize(
|
|
128
|
+
name: ( localize(11582, "Notebook Kernel Info")),
|
|
129
129
|
text: `$(notebook-kernel-select) ${kernel.label}`,
|
|
130
130
|
ariaLabel: kernel.label,
|
|
131
|
-
tooltip: isSuggested ? ( localize(
|
|
131
|
+
tooltip: isSuggested ? ( localize(11583, "{0} (suggestion)", tooltip)) : tooltip,
|
|
132
132
|
command: SELECT_KERNEL_ID
|
|
133
133
|
}, SELECT_KERNEL_ID, StatusbarAlignment.RIGHT, 10));
|
|
134
134
|
this._kernelInfoElement.add(kernel.onDidChange(() => this._showKernelStatus(notebook)));
|
|
135
135
|
} else {
|
|
136
136
|
this._kernelInfoElement.add(this._statusbarService.addEntry({
|
|
137
|
-
name: ( localize(
|
|
138
|
-
text: ( localize(
|
|
139
|
-
ariaLabel: ( localize(
|
|
137
|
+
name: ( localize(11584, "Notebook Kernel Selection")),
|
|
138
|
+
text: ( localize(11585, "Select Kernel")),
|
|
139
|
+
ariaLabel: ( localize(11585, "Select Kernel")),
|
|
140
140
|
command: SELECT_KERNEL_ID,
|
|
141
141
|
kind: "prominent"
|
|
142
142
|
}, SELECT_KERNEL_ID, StatusbarAlignment.RIGHT, 10));
|
|
@@ -176,7 +176,7 @@ let ActiveCellStatus = class ActiveCellStatus extends Disposable {
|
|
|
176
176
|
return;
|
|
177
177
|
}
|
|
178
178
|
const entry = {
|
|
179
|
-
name: ( localize(
|
|
179
|
+
name: ( localize(11586, "Notebook Editor Selections")),
|
|
180
180
|
text: newText,
|
|
181
181
|
ariaLabel: newText,
|
|
182
182
|
command: CENTER_ACTIVE_CELL
|
|
@@ -198,7 +198,7 @@ let ActiveCellStatus = class ActiveCellStatus extends Disposable {
|
|
|
198
198
|
const idxFocused = editor.getCellIndex(activeCell) + 1;
|
|
199
199
|
const numSelected = editor.getSelections().reduce((prev, range) => prev + (range.end - range.start), 0);
|
|
200
200
|
const totalCells = editor.getLength();
|
|
201
|
-
return numSelected > 1 ? ( localize(
|
|
201
|
+
return numSelected > 1 ? ( localize(11587, "Cell {0} ({1} selected)", idxFocused, numSelected)) : ( localize(11588, "Cell {0} of {1}", idxFocused, totalCells));
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
ActiveCellStatus = ( __decorate([( __param(0, IEditorService)), ( __param(1, IStatusbarService))], ActiveCellStatus));
|
|
@@ -256,10 +256,10 @@ let NotebookIndentationStatus = class NotebookIndentationStatus extends Disposab
|
|
|
256
256
|
return;
|
|
257
257
|
}
|
|
258
258
|
const entry = {
|
|
259
|
-
name: ( localize(
|
|
259
|
+
name: ( localize(11589, "Notebook Indentation")),
|
|
260
260
|
text: newText,
|
|
261
261
|
ariaLabel: newText,
|
|
262
|
-
tooltip: ( localize(
|
|
262
|
+
tooltip: ( localize(11590, "Select Indentation")),
|
|
263
263
|
command: SELECT_NOTEBOOK_INDENTATION_ID
|
|
264
264
|
};
|
|
265
265
|
if (!this._accessor.value) {
|
|
@@ -27,7 +27,7 @@ registerAction2(class extends Action2 {
|
|
|
27
27
|
constructor() {
|
|
28
28
|
super({
|
|
29
29
|
id: "notebook.hideFind",
|
|
30
|
-
title: ( localize2(
|
|
30
|
+
title: ( localize2(11591, "Hide Find in Notebook")),
|
|
31
31
|
keybinding: {
|
|
32
32
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, CONTEXT_FIND_WIDGET_VISIBLE)),
|
|
33
33
|
primary: KeyCode.Escape,
|
|
@@ -50,7 +50,7 @@ registerAction2(class extends NotebookMultiCellAction {
|
|
|
50
50
|
constructor() {
|
|
51
51
|
super({
|
|
52
52
|
id: "notebook.find",
|
|
53
|
-
title: ( localize2(
|
|
53
|
+
title: ( localize2(11592, "Find in Notebook")),
|
|
54
54
|
keybinding: {
|
|
55
55
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( ContextKeyExpr.or(NOTEBOOK_IS_ACTIVE_EDITOR, INTERACTIVE_WINDOW_IS_ACTIVE_EDITOR)), ( EditorContextKeys.focus.toNegated()))),
|
|
56
56
|
primary: KeyCode.KeyF | KeyMod.CtrlCmd,
|
|
@@ -229,7 +229,7 @@ registerAction2(class extends Action2 {
|
|
|
229
229
|
constructor() {
|
|
230
230
|
super({
|
|
231
231
|
id: "notebook.findNext.fromWidget",
|
|
232
|
-
title: ( localize2(
|
|
232
|
+
title: ( localize2(11593, "Find Next")),
|
|
233
233
|
keybinding: {
|
|
234
234
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, CONTEXT_FIND_WIDGET_VISIBLE)),
|
|
235
235
|
primary: KeyCode.F3,
|
|
@@ -249,7 +249,7 @@ registerAction2(class extends Action2 {
|
|
|
249
249
|
constructor() {
|
|
250
250
|
super({
|
|
251
251
|
id: "notebook.findPrevious.fromWidget",
|
|
252
|
-
title: ( localize2(
|
|
252
|
+
title: ( localize2(11594, "Find Previous")),
|
|
253
253
|
keybinding: {
|
|
254
254
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, CONTEXT_FIND_WIDGET_VISIBLE)),
|
|
255
255
|
primary: KeyMod.Shift | KeyCode.F3,
|
|
@@ -34,7 +34,7 @@ registerAction2(class extends Action2 {
|
|
|
34
34
|
constructor() {
|
|
35
35
|
super({
|
|
36
36
|
id: "notebook.format",
|
|
37
|
-
title: ( localize2(
|
|
37
|
+
title: ( localize2(11615, "Format Notebook")),
|
|
38
38
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
39
39
|
precondition: ( ContextKeyExpr.and(NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_EDITOR_EDITABLE)),
|
|
40
40
|
keybinding: {
|
|
@@ -99,7 +99,7 @@ registerAction2(class extends Action2 {
|
|
|
99
99
|
return [];
|
|
100
100
|
})));
|
|
101
101
|
await bulkEditService.apply( allCellEdits.flat(), {
|
|
102
|
-
label: ( localize(
|
|
102
|
+
label: ( localize(11616, "Format Notebook")),
|
|
103
103
|
code: "undoredo.formatNotebook"
|
|
104
104
|
});
|
|
105
105
|
}
|
|
@@ -112,7 +112,7 @@ registerEditorAction(class FormatCellAction extends EditorAction {
|
|
|
112
112
|
constructor() {
|
|
113
113
|
super({
|
|
114
114
|
id: "notebook.formatCell",
|
|
115
|
-
label: ( localize2(
|
|
115
|
+
label: ( localize2(11617, "Format Cell")),
|
|
116
116
|
precondition: ( ContextKeyExpr.and(
|
|
117
117
|
NOTEBOOK_IS_ACTIVE_EDITOR,
|
|
118
118
|
NOTEBOOK_EDITOR_EDITABLE,
|
|
@@ -204,7 +204,7 @@ let FormatOnCellExecutionParticipant = class FormatOnCellExecutionParticipant {
|
|
|
204
204
|
return [];
|
|
205
205
|
})));
|
|
206
206
|
await this.bulkEditService.apply( allCellEdits.flat(), {
|
|
207
|
-
label: ( localize(
|
|
207
|
+
label: ( localize(11618, "Format Cells")),
|
|
208
208
|
code: "undoredo.notebooks.onWillExecuteFormat"
|
|
209
209
|
});
|
|
210
210
|
} finally {
|
|
@@ -69,7 +69,7 @@ registerAction2(class NotebookClearNotebookLayoutAction extends Action2 {
|
|
|
69
69
|
constructor() {
|
|
70
70
|
super({
|
|
71
71
|
id: "workbench.notebook.layout.gettingStarted",
|
|
72
|
-
title: ( localize2(
|
|
72
|
+
title: ( localize2(11619, "Reset notebook getting started")),
|
|
73
73
|
f1: true,
|
|
74
74
|
precondition: ( ContextKeyExpr.equals(`config.${NotebookSetting.openGettingStarted}`, true)),
|
|
75
75
|
category: Categories.Developer
|
|
@@ -10,7 +10,7 @@ class ToggleCellToolbarPositionAction extends Action2 {
|
|
|
10
10
|
constructor() {
|
|
11
11
|
super({
|
|
12
12
|
id: TOGGLE_CELL_TOOLBAR_POSITION,
|
|
13
|
-
title: ( localize2(
|
|
13
|
+
title: ( localize2(11620, "Toggle Cell Toolbar Position")),
|
|
14
14
|
menu: [{
|
|
15
15
|
id: MenuId.NotebookCellTitle,
|
|
16
16
|
group: "View",
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js
CHANGED
|
@@ -820,7 +820,7 @@ class NotebookSelectAllFindMatches extends NotebookAction {
|
|
|
820
820
|
constructor() {
|
|
821
821
|
super({
|
|
822
822
|
id: NOTEBOOK_SELECT_ALL_FIND_MATCHES_ID,
|
|
823
|
-
title: ( localize(
|
|
823
|
+
title: ( localize(11621, "Select All Occurrences of Find Match")),
|
|
824
824
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)))),
|
|
825
825
|
keybinding: {
|
|
826
826
|
when: ( ContextKeyExpr.or(( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_CELL_EDITOR_FOCUSED)), ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), KEYBINDING_CONTEXT_NOTEBOOK_FIND_WIDGET_FOCUSED)))),
|
|
@@ -852,7 +852,7 @@ class NotebookAddMatchToMultiSelectionAction extends NotebookAction {
|
|
|
852
852
|
constructor() {
|
|
853
853
|
super({
|
|
854
854
|
id: NOTEBOOK_ADD_FIND_MATCH_TO_SELECTION_ID,
|
|
855
|
-
title: ( localize(
|
|
855
|
+
title: ( localize(11622, "Add Selection to Next Find Match")),
|
|
856
856
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_CELL_EDITOR_FOCUSED)),
|
|
857
857
|
keybinding: {
|
|
858
858
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_CELL_EDITOR_FOCUSED)),
|
|
@@ -878,7 +878,7 @@ class NotebookExitMultiSelectionAction extends NotebookAction {
|
|
|
878
878
|
constructor() {
|
|
879
879
|
super({
|
|
880
880
|
id: "noteMultiCursor.exit",
|
|
881
|
-
title: ( localize(
|
|
881
|
+
title: ( localize(11623, "Exit Multi Cursor Mode")),
|
|
882
882
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_MULTI_CURSOR_CONTEXT.IsNotebookMultiCursor)),
|
|
883
883
|
keybinding: {
|
|
884
884
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_MULTI_CURSOR_CONTEXT.IsNotebookMultiCursor)),
|
|
@@ -901,7 +901,7 @@ class NotebookDeleteLeftMultiSelectionAction extends NotebookAction {
|
|
|
901
901
|
constructor() {
|
|
902
902
|
super({
|
|
903
903
|
id: "noteMultiCursor.deleteLeft",
|
|
904
|
-
title: ( localize(
|
|
904
|
+
title: ( localize(11624, "Delete Left")),
|
|
905
905
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_MULTI_CURSOR_CONTEXT.IsNotebookMultiCursor, ( ContextKeyExpr.or(( NOTEBOOK_MULTI_CURSOR_CONTEXT.NotebookMultiSelectCursorState.isEqualTo(NotebookMultiCursorState.Selecting)), ( NOTEBOOK_MULTI_CURSOR_CONTEXT.NotebookMultiSelectCursorState.isEqualTo(NotebookMultiCursorState.Editing)))))),
|
|
906
906
|
keybinding: {
|
|
907
907
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_MULTI_CURSOR_CONTEXT.IsNotebookMultiCursor, ( ContextKeyExpr.or(( NOTEBOOK_MULTI_CURSOR_CONTEXT.NotebookMultiSelectCursorState.isEqualTo(NotebookMultiCursorState.Selecting)), ( NOTEBOOK_MULTI_CURSOR_CONTEXT.NotebookMultiSelectCursorState.isEqualTo(NotebookMultiCursorState.Editing)))))),
|
|
@@ -924,7 +924,7 @@ class NotebookDeleteRightMultiSelectionAction extends NotebookAction {
|
|
|
924
924
|
constructor() {
|
|
925
925
|
super({
|
|
926
926
|
id: "noteMultiCursor.deleteRight",
|
|
927
|
-
title: ( localize(
|
|
927
|
+
title: ( localize(11625, "Delete Right")),
|
|
928
928
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_MULTI_CURSOR_CONTEXT.IsNotebookMultiCursor, ( ContextKeyExpr.or(( NOTEBOOK_MULTI_CURSOR_CONTEXT.NotebookMultiSelectCursorState.isEqualTo(NotebookMultiCursorState.Selecting)), ( NOTEBOOK_MULTI_CURSOR_CONTEXT.NotebookMultiSelectCursorState.isEqualTo(NotebookMultiCursorState.Editing)))))),
|
|
929
929
|
keybinding: {
|
|
930
930
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("config.notebook.multiCursor.enabled", true)), NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_MULTI_CURSOR_CONTEXT.IsNotebookMultiCursor, ( ContextKeyExpr.or(( NOTEBOOK_MULTI_CURSOR_CONTEXT.NotebookMultiSelectCursorState.isEqualTo(NotebookMultiCursorState.Selecting)), ( NOTEBOOK_MULTI_CURSOR_CONTEXT.NotebookMultiSelectCursorState.isEqualTo(NotebookMultiCursorState.Editing)))))),
|