@codingame/monaco-vscode-notebook-service-override 14.0.2 → 14.0.4
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 +29 -29
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +8 -8
- 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 +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +2 -2
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +2 -2
- 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/chat/cellChatActions.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +17 -17
- 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 +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +65 -65
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
- 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/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
|
@@ -16,10 +16,10 @@ class NotebookRunSingleCellInSection extends Action2 {
|
|
|
16
16
|
super({
|
|
17
17
|
id: 'notebook.section.runSingleCell',
|
|
18
18
|
title: {
|
|
19
|
-
...( localize2(
|
|
20
|
-
mnemonicTitle: ( localize(
|
|
19
|
+
...( localize2(7689, "Run Cell")),
|
|
20
|
+
mnemonicTitle: ( localize(7690, "&&Run Cell")),
|
|
21
21
|
},
|
|
22
|
-
shortTitle: ( localize(
|
|
22
|
+
shortTitle: ( localize(7689, "Run Cell")),
|
|
23
23
|
icon: executeIcon,
|
|
24
24
|
menu: [
|
|
25
25
|
{
|
|
@@ -43,10 +43,10 @@ class NotebookRunCellsInSection extends Action2 {
|
|
|
43
43
|
super({
|
|
44
44
|
id: 'notebook.section.runCells',
|
|
45
45
|
title: {
|
|
46
|
-
...( localize2(
|
|
47
|
-
mnemonicTitle: ( localize(
|
|
46
|
+
...( localize2(7691, "Run Cells In Section")),
|
|
47
|
+
mnemonicTitle: ( localize(7692, "&&Run Cells In Section")),
|
|
48
48
|
},
|
|
49
|
-
shortTitle: ( localize(
|
|
49
|
+
shortTitle: ( localize(7691, "Run Cells In Section")),
|
|
50
50
|
icon: executeIcon,
|
|
51
51
|
menu: [
|
|
52
52
|
{
|
|
@@ -105,10 +105,10 @@ class NotebookFoldSection extends Action2 {
|
|
|
105
105
|
super({
|
|
106
106
|
id: 'notebook.section.foldSection',
|
|
107
107
|
title: {
|
|
108
|
-
...( localize2(
|
|
109
|
-
mnemonicTitle: ( localize(
|
|
108
|
+
...( localize2(7693, "Fold Section")),
|
|
109
|
+
mnemonicTitle: ( localize(7694, "&&Fold Section")),
|
|
110
110
|
},
|
|
111
|
-
shortTitle: ( localize(
|
|
111
|
+
shortTitle: ( localize(7693, "Fold Section")),
|
|
112
112
|
menu: [
|
|
113
113
|
{
|
|
114
114
|
id: MenuId.NotebookOutlineActionMenu,
|
|
@@ -138,10 +138,10 @@ class NotebookExpandSection extends Action2 {
|
|
|
138
138
|
super({
|
|
139
139
|
id: 'notebook.section.expandSection',
|
|
140
140
|
title: {
|
|
141
|
-
...( localize2(
|
|
142
|
-
mnemonicTitle: ( localize(
|
|
141
|
+
...( localize2(7695, "Expand Section")),
|
|
142
|
+
mnemonicTitle: ( localize(7696, "&&Expand Section")),
|
|
143
143
|
},
|
|
144
|
-
shortTitle: ( localize(
|
|
144
|
+
shortTitle: ( localize(7695, "Expand Section")),
|
|
145
145
|
menu: [
|
|
146
146
|
{
|
|
147
147
|
id: MenuId.NotebookOutlineActionMenu,
|
|
@@ -13,7 +13,7 @@ registerAction2(class OpenVariablesViewAction extends NotebookAction {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: OPEN_VARIABLES_VIEW_COMMAND_ID,
|
|
16
|
-
title: ( localize2(
|
|
16
|
+
title: ( localize2(7697, "Variables")),
|
|
17
17
|
icon: variablesViewIcon,
|
|
18
18
|
menu: [
|
|
19
19
|
{
|
|
@@ -26,7 +26,7 @@ registerAction2(class extends Action2 {
|
|
|
26
26
|
super({
|
|
27
27
|
id: 'notebook.diff.openFile',
|
|
28
28
|
icon: Codicon.goToFile,
|
|
29
|
-
title: ( localize2(
|
|
29
|
+
title: ( localize2(7709, 'Open File')),
|
|
30
30
|
precondition: ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))),
|
|
31
31
|
menu: [{
|
|
32
32
|
id: MenuId.EditorTitle,
|
|
@@ -52,7 +52,7 @@ registerAction2(class extends Action2 {
|
|
|
52
52
|
constructor() {
|
|
53
53
|
super({
|
|
54
54
|
id: 'notebook.diff.cell.toggleCollapseUnchangedRegions',
|
|
55
|
-
title: ( localize2(
|
|
55
|
+
title: ( localize2(7710, 'Toggle Collapse Unchanged Regions')),
|
|
56
56
|
icon: Codicon.map,
|
|
57
57
|
toggled: ( ContextKeyExpr.has('config.diffEditor.hideUnchangedRegions.enabled')),
|
|
58
58
|
precondition: ( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
@@ -74,7 +74,7 @@ registerAction2(class extends Action2 {
|
|
|
74
74
|
super({
|
|
75
75
|
id: 'notebook.diff.switchToText',
|
|
76
76
|
icon: openAsTextIcon,
|
|
77
|
-
title: ( localize2(
|
|
77
|
+
title: ( localize2(7711, 'Open Text Diff Editor')),
|
|
78
78
|
precondition: ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))),
|
|
79
79
|
menu: [{
|
|
80
80
|
id: MenuId.EditorTitle,
|
|
@@ -107,7 +107,7 @@ registerAction2(class extends Action2 {
|
|
|
107
107
|
constructor() {
|
|
108
108
|
super({
|
|
109
109
|
id: 'notebook.diffEditor.showUnchangedCells',
|
|
110
|
-
title: ( localize2(
|
|
110
|
+
title: ( localize2(7712, 'Show Unchanged Cells')),
|
|
111
111
|
icon: Codicon.unfold,
|
|
112
112
|
precondition: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)), ( ContextKeyExpr.has(NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS.key)))),
|
|
113
113
|
menu: {
|
|
@@ -132,7 +132,7 @@ registerAction2(class extends Action2 {
|
|
|
132
132
|
constructor() {
|
|
133
133
|
super({
|
|
134
134
|
id: 'notebook.diffEditor.hideUnchangedCells',
|
|
135
|
-
title: ( localize2(
|
|
135
|
+
title: ( localize2(7713, 'Hide Unchanged Cells')),
|
|
136
136
|
icon: Codicon.fold,
|
|
137
137
|
precondition: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)), ( ContextKeyExpr.has(NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS.key)))),
|
|
138
138
|
menu: {
|
|
@@ -157,7 +157,7 @@ registerAction2(class GoToFileAction extends Action2 {
|
|
|
157
157
|
constructor() {
|
|
158
158
|
super({
|
|
159
159
|
id: 'notebook.diffEditor.2.goToCell',
|
|
160
|
-
title: ( localize2(
|
|
160
|
+
title: ( localize2(7714, 'Go To Cell')),
|
|
161
161
|
icon: Codicon.goToFile,
|
|
162
162
|
menu: {
|
|
163
163
|
when: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)), ( ContextKeyExpr.equals(NOTEBOOK_DIFF_ITEM_KIND.key, 'Cell')), ( ContextKeyExpr.notEquals(NOTEBOOK_DIFF_ITEM_DIFF_STATE.key, 'delete')))),
|
|
@@ -186,7 +186,7 @@ registerAction2(class extends Action2 {
|
|
|
186
186
|
constructor() {
|
|
187
187
|
super({
|
|
188
188
|
id: 'notebook.diff.revertMetadata',
|
|
189
|
-
title: ( localize(
|
|
189
|
+
title: ( localize(7715, "Revert Notebook Metadata")),
|
|
190
190
|
icon: revertIcon,
|
|
191
191
|
f1: false,
|
|
192
192
|
menu: {
|
|
@@ -211,7 +211,7 @@ registerAction2(class extends Action2 {
|
|
|
211
211
|
}], true, undefined, () => undefined, undefined, true);
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
|
-
const revertInput = ( localize(
|
|
214
|
+
const revertInput = ( localize(7716, "Revert Input"));
|
|
215
215
|
registerAction2(class extends Action2 {
|
|
216
216
|
constructor() {
|
|
217
217
|
super({
|
|
@@ -250,7 +250,7 @@ registerAction2(class extends Action2 {
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
});
|
|
253
|
-
const revertOutputs = ( localize(
|
|
253
|
+
const revertOutputs = ( localize(7717, "Revert Outputs"));
|
|
254
254
|
registerAction2(class extends Action2 {
|
|
255
255
|
constructor() {
|
|
256
256
|
super({
|
|
@@ -286,7 +286,7 @@ registerAction2(class extends Action2 {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
});
|
|
289
|
-
const revertMetadata = ( localize(
|
|
289
|
+
const revertMetadata = ( localize(7718, "Revert Metadata"));
|
|
290
290
|
registerAction2(class extends Action2 {
|
|
291
291
|
constructor() {
|
|
292
292
|
super({
|
|
@@ -360,7 +360,7 @@ registerAction2(class extends Action2 {
|
|
|
360
360
|
constructor() {
|
|
361
361
|
super({
|
|
362
362
|
id: 'notebook.diff.cell.switchOutputRenderingStyleToText',
|
|
363
|
-
title: ( localize(
|
|
363
|
+
title: ( localize(7719, "Switch Output Rendering")),
|
|
364
364
|
icon: renderOutputIcon,
|
|
365
365
|
f1: false,
|
|
366
366
|
menu: {
|
|
@@ -380,7 +380,7 @@ registerAction2(class extends Action2 {
|
|
|
380
380
|
constructor() {
|
|
381
381
|
super({
|
|
382
382
|
id: 'notebook.diff.cell.revertOutputs',
|
|
383
|
-
title: ( localize(
|
|
383
|
+
title: ( localize(7717, "Revert Outputs")),
|
|
384
384
|
icon: revertIcon,
|
|
385
385
|
f1: false,
|
|
386
386
|
menu: {
|
|
@@ -412,7 +412,7 @@ registerAction2(class extends Action2 {
|
|
|
412
412
|
constructor() {
|
|
413
413
|
super({
|
|
414
414
|
id: 'notebook.toggle.diff.cell.ignoreTrimWhitespace',
|
|
415
|
-
title: ( localize(
|
|
415
|
+
title: ( localize(7720, "Show Leading/Trailing Whitespace Differences")),
|
|
416
416
|
icon: toggleWhitespace,
|
|
417
417
|
f1: false,
|
|
418
418
|
menu: {
|
|
@@ -500,19 +500,19 @@ class ToggleRenderAction extends Action2 {
|
|
|
500
500
|
}
|
|
501
501
|
registerAction2(class extends ToggleRenderAction {
|
|
502
502
|
constructor() {
|
|
503
|
-
super('notebook.diff.showOutputs', ( localize2(
|
|
503
|
+
super('notebook.diff.showOutputs', ( localize2(7721, 'Show Outputs Differences')), ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))), ( ContextKeyExpr.notEquals('config.notebook.diff.ignoreOutputs', true)), 2, true, undefined);
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
506
|
registerAction2(class extends ToggleRenderAction {
|
|
507
507
|
constructor() {
|
|
508
|
-
super('notebook.diff.showMetadata', ( localize2(
|
|
508
|
+
super('notebook.diff.showMetadata', ( localize2(7722, 'Show Metadata Differences')), ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))), ( ContextKeyExpr.notEquals('config.notebook.diff.ignoreMetadata', true)), 1, undefined, true);
|
|
509
509
|
}
|
|
510
510
|
});
|
|
511
511
|
registerAction2(class extends Action2 {
|
|
512
512
|
constructor() {
|
|
513
513
|
super({
|
|
514
514
|
id: 'notebook.diff.action.previous',
|
|
515
|
-
title: ( localize(
|
|
515
|
+
title: ( localize(7723, "Show Previous Change")),
|
|
516
516
|
icon: previousChangeIcon,
|
|
517
517
|
f1: false,
|
|
518
518
|
keybinding: {
|
|
@@ -540,7 +540,7 @@ registerAction2(class extends Action2 {
|
|
|
540
540
|
constructor() {
|
|
541
541
|
super({
|
|
542
542
|
id: 'notebook.diff.action.next',
|
|
543
|
-
title: ( localize(
|
|
543
|
+
title: ( localize(7724, "Show Next Change")),
|
|
544
544
|
icon: nextChangeIcon,
|
|
545
545
|
f1: false,
|
|
546
546
|
keybinding: {
|
|
@@ -572,12 +572,12 @@ registerAction2(class extends Action2 {
|
|
|
572
572
|
'notebook.diff.ignoreMetadata': {
|
|
573
573
|
type: 'boolean',
|
|
574
574
|
default: false,
|
|
575
|
-
markdownDescription: ( localize(
|
|
575
|
+
markdownDescription: ( localize(7725, "Hide Metadata Differences"))
|
|
576
576
|
},
|
|
577
577
|
'notebook.diff.ignoreOutputs': {
|
|
578
578
|
type: 'boolean',
|
|
579
579
|
default: false,
|
|
580
|
-
markdownDescription: ( localize(
|
|
580
|
+
markdownDescription: ( localize(7726, "Hide Outputs Differences"))
|
|
581
581
|
},
|
|
582
582
|
}
|
|
583
583
|
});
|