@codingame/monaco-vscode-notebook-service-override 11.0.2 → 11.1.1
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 +10 -8
- 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 +2 -2
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
- 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 +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +23 -23
- 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 +60 -60
- 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
package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js
CHANGED
|
@@ -17,7 +17,7 @@ class NotebookIndentUsingTabs extends Action2 {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super({
|
|
19
19
|
id: NotebookIndentUsingTabs.ID,
|
|
20
|
-
title: ( localize(
|
|
20
|
+
title: ( localize(10938, "Indent Using Tabs")),
|
|
21
21
|
precondition: undefined,
|
|
22
22
|
});
|
|
23
23
|
}
|
|
@@ -30,7 +30,7 @@ class NotebookIndentUsingSpaces extends Action2 {
|
|
|
30
30
|
constructor() {
|
|
31
31
|
super({
|
|
32
32
|
id: NotebookIndentUsingSpaces.ID,
|
|
33
|
-
title: ( localize(
|
|
33
|
+
title: ( localize(10939, "Indent Using Spaces")),
|
|
34
34
|
precondition: undefined,
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -43,7 +43,7 @@ class NotebookChangeTabDisplaySize extends Action2 {
|
|
|
43
43
|
constructor() {
|
|
44
44
|
super({
|
|
45
45
|
id: NotebookChangeTabDisplaySize.ID,
|
|
46
|
-
title: ( localize(
|
|
46
|
+
title: ( localize(10940, "Change Tab Display Size")),
|
|
47
47
|
precondition: undefined,
|
|
48
48
|
});
|
|
49
49
|
}
|
|
@@ -56,7 +56,7 @@ class NotebookIndentationToSpacesAction extends Action2 {
|
|
|
56
56
|
constructor() {
|
|
57
57
|
super({
|
|
58
58
|
id: NotebookIndentationToSpacesAction.ID,
|
|
59
|
-
title: ( localize(
|
|
59
|
+
title: ( localize(10941, "Convert Indentation to Spaces")),
|
|
60
60
|
precondition: undefined,
|
|
61
61
|
});
|
|
62
62
|
}
|
|
@@ -69,7 +69,7 @@ class NotebookIndentationToTabsAction extends Action2 {
|
|
|
69
69
|
constructor() {
|
|
70
70
|
super({
|
|
71
71
|
id: NotebookIndentationToTabsAction.ID,
|
|
72
|
-
title: ( localize(
|
|
72
|
+
title: ( localize(10942, "Convert Indentation to Tabs")),
|
|
73
73
|
precondition: undefined,
|
|
74
74
|
});
|
|
75
75
|
}
|
|
@@ -101,7 +101,7 @@ function changeNotebookIndentation(accessor, insertSpaces, displaySizeOnly) {
|
|
|
101
101
|
delete initialConfig['editor.tabSize'];
|
|
102
102
|
delete initialConfig['editor.insertSpaces'];
|
|
103
103
|
setTimeout(() => {
|
|
104
|
-
quickInputService.pick(picks, { placeHolder: ( localize(
|
|
104
|
+
quickInputService.pick(picks, { placeHolder: ( localize(10943, "Select Tab Size for Current File")) }).then(pick => {
|
|
105
105
|
if (pick) {
|
|
106
106
|
const pickedVal = parseInt(pick.label, 10);
|
|
107
107
|
if (displaySizeOnly) {
|
|
@@ -151,7 +151,7 @@ function convertNotebookIndentation(accessor, tabsToSpaces) {
|
|
|
151
151
|
return;
|
|
152
152
|
}
|
|
153
153
|
const edits = getIndentationEditOperations(textEditorModel, modelOpts.tabSize, tabsToSpaces);
|
|
154
|
-
bulkEditService.apply(edits, { label: ( localize(
|
|
154
|
+
bulkEditService.apply(edits, { label: ( localize(10944, "Convert Indentation")), code: 'undoredo.convertIndentation', });
|
|
155
155
|
})))).then(() => {
|
|
156
156
|
const initialConfig = configurationService.getValue(NotebookSetting.cellEditorOptionsCustomizations);
|
|
157
157
|
const initialIndentSize = initialConfig['editor.indentSize'];
|
|
@@ -11,10 +11,10 @@ class NotebookRunSingleCellInSection extends Action2 {
|
|
|
11
11
|
super({
|
|
12
12
|
id: 'notebook.section.runSingleCell',
|
|
13
13
|
title: {
|
|
14
|
-
...( localize2(
|
|
15
|
-
mnemonicTitle: ( localize(
|
|
14
|
+
...( localize2(8022, "Run Cell")),
|
|
15
|
+
mnemonicTitle: ( localize(8023, "&&Run Cell")),
|
|
16
16
|
},
|
|
17
|
-
shortTitle: ( localize(
|
|
17
|
+
shortTitle: ( localize(8022, "Run Cell")),
|
|
18
18
|
icon: executeIcon,
|
|
19
19
|
menu: [
|
|
20
20
|
{
|
|
@@ -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(8024, "Run Cells In Section")),
|
|
47
|
+
mnemonicTitle: ( localize(8025, "&&Run Cells In Section")),
|
|
48
48
|
},
|
|
49
|
-
shortTitle: ( localize(
|
|
49
|
+
shortTitle: ( localize(8024, "Run Cells In Section")),
|
|
50
50
|
menu: [
|
|
51
51
|
{
|
|
52
52
|
id: MenuId.NotebookStickyScrollContext,
|
|
@@ -89,10 +89,10 @@ class NotebookFoldSection extends Action2 {
|
|
|
89
89
|
super({
|
|
90
90
|
id: 'notebook.section.foldSection',
|
|
91
91
|
title: {
|
|
92
|
-
...( localize2(
|
|
93
|
-
mnemonicTitle: ( localize(
|
|
92
|
+
...( localize2(8026, "Fold Section")),
|
|
93
|
+
mnemonicTitle: ( localize(8027, "&&Fold Section")),
|
|
94
94
|
},
|
|
95
|
-
shortTitle: ( localize(
|
|
95
|
+
shortTitle: ( localize(8026, "Fold Section")),
|
|
96
96
|
menu: [
|
|
97
97
|
{
|
|
98
98
|
id: MenuId.NotebookOutlineActionMenu,
|
|
@@ -128,10 +128,10 @@ class NotebookExpandSection extends Action2 {
|
|
|
128
128
|
super({
|
|
129
129
|
id: 'notebook.section.expandSection',
|
|
130
130
|
title: {
|
|
131
|
-
...( localize2(
|
|
132
|
-
mnemonicTitle: ( localize(
|
|
131
|
+
...( localize2(8028, "Expand Section")),
|
|
132
|
+
mnemonicTitle: ( localize(8029, "&&Expand Section")),
|
|
133
133
|
},
|
|
134
|
-
shortTitle: ( localize(
|
|
134
|
+
shortTitle: ( localize(8028, "Expand Section")),
|
|
135
135
|
menu: [
|
|
136
136
|
{
|
|
137
137
|
id: MenuId.NotebookOutlineActionMenu,
|
|
@@ -12,7 +12,7 @@ registerAction2(class OpenVariablesViewAction extends NotebookAction {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super({
|
|
14
14
|
id: OPEN_VARIABLES_VIEW_COMMAND_ID,
|
|
15
|
-
title: ( localize2(
|
|
15
|
+
title: ( localize2(8074, "Variables")),
|
|
16
16
|
icon: variablesViewIcon,
|
|
17
17
|
menu: [
|
|
18
18
|
{
|
|
@@ -22,7 +22,7 @@ registerAction2(class extends Action2 {
|
|
|
22
22
|
super({
|
|
23
23
|
id: 'notebook.diff.openFile',
|
|
24
24
|
icon: Codicon.goToFile,
|
|
25
|
-
title: ( localize2(
|
|
25
|
+
title: ( localize2(8167, 'Open File')),
|
|
26
26
|
precondition: ( (ContextKeyExpr.or(
|
|
27
27
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
28
28
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
@@ -54,7 +54,7 @@ registerAction2(class extends Action2 {
|
|
|
54
54
|
constructor() {
|
|
55
55
|
super({
|
|
56
56
|
id: 'notebook.diff.cell.toggleCollapseUnchangedRegions',
|
|
57
|
-
title: ( localize2(
|
|
57
|
+
title: ( localize2(8168, 'Toggle Collapse Unchanged Regions')),
|
|
58
58
|
icon: Codicon.map,
|
|
59
59
|
toggled: ( (ContextKeyExpr.has('config.diffEditor.hideUnchangedRegions.enabled'))),
|
|
60
60
|
precondition: ( (ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID))),
|
|
@@ -76,7 +76,7 @@ registerAction2(class extends Action2 {
|
|
|
76
76
|
super({
|
|
77
77
|
id: 'notebook.diff.switchToText',
|
|
78
78
|
icon: openAsTextIcon,
|
|
79
|
-
title: ( localize2(
|
|
79
|
+
title: ( localize2(8169, 'Open Text Diff Editor')),
|
|
80
80
|
precondition: ( (ContextKeyExpr.or(
|
|
81
81
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
82
82
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
@@ -115,7 +115,7 @@ registerAction2(class extends Action2 {
|
|
|
115
115
|
constructor() {
|
|
116
116
|
super({
|
|
117
117
|
id: 'notebook.diffEditor.showUnchangedCells',
|
|
118
|
-
title: ( localize2(
|
|
118
|
+
title: ( localize2(8170, 'Show Unchanged Cells')),
|
|
119
119
|
icon: Codicon.unfold,
|
|
120
120
|
precondition: ( (ContextKeyExpr.and(
|
|
121
121
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)),
|
|
@@ -147,7 +147,7 @@ registerAction2(class extends Action2 {
|
|
|
147
147
|
constructor() {
|
|
148
148
|
super({
|
|
149
149
|
id: 'notebook.diffEditor.hideUnchangedCells',
|
|
150
|
-
title: ( localize2(
|
|
150
|
+
title: ( localize2(8171, 'Hide Unchanged Cells')),
|
|
151
151
|
icon: Codicon.fold,
|
|
152
152
|
precondition: ( (ContextKeyExpr.and(
|
|
153
153
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)),
|
|
@@ -179,7 +179,7 @@ registerAction2(class GoToFileAction extends Action2 {
|
|
|
179
179
|
constructor() {
|
|
180
180
|
super({
|
|
181
181
|
id: 'notebook.diffEditor.2.goToCell',
|
|
182
|
-
title: ( localize2(
|
|
182
|
+
title: ( localize2(8172, 'Go To Cell')),
|
|
183
183
|
icon: Codicon.goToFile,
|
|
184
184
|
menu: {
|
|
185
185
|
when: ( (ContextKeyExpr.and(
|
|
@@ -212,7 +212,7 @@ registerAction2(class extends Action2 {
|
|
|
212
212
|
constructor() {
|
|
213
213
|
super({
|
|
214
214
|
id: 'notebook.diff.revertMetadata',
|
|
215
|
-
title: ( localize(
|
|
215
|
+
title: ( localize(8173, "Revert Notebook Metadata")),
|
|
216
216
|
icon: revertIcon,
|
|
217
217
|
f1: false,
|
|
218
218
|
menu: {
|
|
@@ -237,7 +237,7 @@ registerAction2(class extends Action2 {
|
|
|
237
237
|
}], true, undefined, () => undefined, undefined, true);
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
|
-
const revertInput = ( localize(
|
|
240
|
+
const revertInput = ( localize(8174, "Revert Input"));
|
|
241
241
|
registerAction2(class extends Action2 {
|
|
242
242
|
constructor() {
|
|
243
243
|
super({
|
|
@@ -280,7 +280,7 @@ registerAction2(class extends Action2 {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
const revertOutputs = ( localize(
|
|
283
|
+
const revertOutputs = ( localize(8175, "Revert Outputs"));
|
|
284
284
|
registerAction2(class extends Action2 {
|
|
285
285
|
constructor() {
|
|
286
286
|
super({
|
|
@@ -320,7 +320,7 @@ registerAction2(class extends Action2 {
|
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
|
-
const revertMetadata = ( localize(
|
|
323
|
+
const revertMetadata = ( localize(8176, "Revert Metadata"));
|
|
324
324
|
registerAction2(class extends Action2 {
|
|
325
325
|
constructor() {
|
|
326
326
|
super({
|
|
@@ -398,7 +398,7 @@ registerAction2(class extends Action2 {
|
|
|
398
398
|
constructor() {
|
|
399
399
|
super({
|
|
400
400
|
id: 'notebook.diff.cell.switchOutputRenderingStyleToText',
|
|
401
|
-
title: ( localize(
|
|
401
|
+
title: ( localize(8177, "Switch Output Rendering")),
|
|
402
402
|
icon: renderOutputIcon,
|
|
403
403
|
f1: false,
|
|
404
404
|
menu: {
|
|
@@ -418,7 +418,7 @@ registerAction2(class extends Action2 {
|
|
|
418
418
|
constructor() {
|
|
419
419
|
super({
|
|
420
420
|
id: 'notebook.diff.cell.revertOutputs',
|
|
421
|
-
title: ( localize(
|
|
421
|
+
title: ( localize(8175, "Revert Outputs")),
|
|
422
422
|
icon: revertIcon,
|
|
423
423
|
f1: false,
|
|
424
424
|
menu: {
|
|
@@ -450,7 +450,7 @@ registerAction2(class extends Action2 {
|
|
|
450
450
|
constructor() {
|
|
451
451
|
super({
|
|
452
452
|
id: 'notebook.toggle.diff.cell.ignoreTrimWhitespace',
|
|
453
|
-
title: ( localize(
|
|
453
|
+
title: ( localize(8178, "Show Leading/Trailing Whitespace Differences")),
|
|
454
454
|
icon: toggleWhitespace,
|
|
455
455
|
f1: false,
|
|
456
456
|
menu: {
|
|
@@ -538,7 +538,7 @@ class ToggleRenderAction extends Action2 {
|
|
|
538
538
|
}
|
|
539
539
|
registerAction2(class extends ToggleRenderAction {
|
|
540
540
|
constructor() {
|
|
541
|
-
super('notebook.diff.showOutputs', ( localize2(
|
|
541
|
+
super('notebook.diff.showOutputs', ( localize2(8179, 'Show Outputs Differences')), ( (ContextKeyExpr.or(
|
|
542
542
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
543
543
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
544
544
|
))), ( (ContextKeyExpr.notEquals('config.notebook.diff.ignoreOutputs', true))), 2, true, undefined);
|
|
@@ -546,7 +546,7 @@ registerAction2(class extends ToggleRenderAction {
|
|
|
546
546
|
});
|
|
547
547
|
registerAction2(class extends ToggleRenderAction {
|
|
548
548
|
constructor() {
|
|
549
|
-
super('notebook.diff.showMetadata', ( localize2(
|
|
549
|
+
super('notebook.diff.showMetadata', ( localize2(8180, 'Show Metadata Differences')), ( (ContextKeyExpr.or(
|
|
550
550
|
(ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
551
551
|
(ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID))
|
|
552
552
|
))), ( (ContextKeyExpr.notEquals('config.notebook.diff.ignoreMetadata', true))), 1, undefined, true);
|
|
@@ -556,7 +556,7 @@ registerAction2(class extends Action2 {
|
|
|
556
556
|
constructor() {
|
|
557
557
|
super({
|
|
558
558
|
id: 'notebook.diff.action.previous',
|
|
559
|
-
title: ( localize(
|
|
559
|
+
title: ( localize(8181, "Show Previous Change")),
|
|
560
560
|
icon: previousChangeIcon,
|
|
561
561
|
f1: false,
|
|
562
562
|
keybinding: {
|
|
@@ -584,7 +584,7 @@ registerAction2(class extends Action2 {
|
|
|
584
584
|
constructor() {
|
|
585
585
|
super({
|
|
586
586
|
id: 'notebook.diff.action.next',
|
|
587
|
-
title: ( localize(
|
|
587
|
+
title: ( localize(8182, "Show Next Change")),
|
|
588
588
|
icon: nextChangeIcon,
|
|
589
589
|
f1: false,
|
|
590
590
|
keybinding: {
|
|
@@ -616,12 +616,12 @@ registerAction2(class extends Action2 {
|
|
|
616
616
|
'notebook.diff.ignoreMetadata': {
|
|
617
617
|
type: 'boolean',
|
|
618
618
|
default: false,
|
|
619
|
-
markdownDescription: ( localize(
|
|
619
|
+
markdownDescription: ( localize(8183, "Hide Metadata Differences"))
|
|
620
620
|
},
|
|
621
621
|
'notebook.diff.ignoreOutputs': {
|
|
622
622
|
type: 'boolean',
|
|
623
623
|
default: false,
|
|
624
|
-
markdownDescription: ( localize(
|
|
624
|
+
markdownDescription: ( localize(8184, "Hide Outputs Differences"))
|
|
625
625
|
},
|
|
626
626
|
}
|
|
627
627
|
});
|