@codingame/monaco-vscode-notebook-service-override 23.2.2 → 24.1.0
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/index.js +3 -3
- package/package.json +3 -24
- 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 +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +11 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +3 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookSelectionHighlight.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +3 -3
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +15 -15
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +19 -31
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +32 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +30 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +20 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +86 -86
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/replEditorAccessibleView.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +5 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +15 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWebWorker.js +1 -1
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/repl.contribution.js +12 -12
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.js +15 -15
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +14 -14
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +3 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +2 -2
|
@@ -6,10 +6,10 @@ import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/v
|
|
|
6
6
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
7
7
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
8
|
import { ActiveEditorContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
9
|
-
import { SideBySideDiffElementViewModel } from '@codingame/monaco-vscode-
|
|
10
|
-
import { NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS, NOTEBOOK_DIFF_UNCHANGED_CELLS_HIDDEN, NOTEBOOK_DIFF_ITEM_KIND, NOTEBOOK_DIFF_ITEM_DIFF_STATE, NOTEBOOK_DIFF_METADATA, NOTEBOOK_DIFF_CELL_PROPERTY, NOTEBOOK_DIFF_CELL_PROPERTY_EXPANDED, NOTEBOOK_DIFF_CELL_IGNORE_WHITESPACE_KEY, NOTEBOOK_DIFF_CELL_INPUT } from '@codingame/monaco-vscode-
|
|
11
|
-
import { NotebookTextDiffEditor } from '@codingame/monaco-vscode-
|
|
12
|
-
import { openAsTextIcon, revertIcon, renderOutputIcon, toggleWhitespace, previousChangeIcon, nextChangeIcon } from '@codingame/monaco-vscode-
|
|
9
|
+
import { SideBySideDiffElementViewModel } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel';
|
|
10
|
+
import { NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS, NOTEBOOK_DIFF_UNCHANGED_CELLS_HIDDEN, NOTEBOOK_DIFF_ITEM_KIND, NOTEBOOK_DIFF_ITEM_DIFF_STATE, NOTEBOOK_DIFF_METADATA, NOTEBOOK_DIFF_CELL_PROPERTY, NOTEBOOK_DIFF_CELL_PROPERTY_EXPANDED, NOTEBOOK_DIFF_CELL_IGNORE_WHITESPACE_KEY, NOTEBOOK_DIFF_CELL_INPUT } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser';
|
|
11
|
+
import { NotebookTextDiffEditor } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor';
|
|
12
|
+
import { openAsTextIcon, revertIcon, renderOutputIcon, toggleWhitespace, previousChangeIcon, nextChangeIcon } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
13
13
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
14
14
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
15
15
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
@@ -18,7 +18,7 @@ import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platfor
|
|
|
18
18
|
import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
19
19
|
import { CellEditType, NOTEBOOK_DIFF_EDITOR_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
20
20
|
import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service';
|
|
21
|
-
import { NotebookMultiTextDiffEditor } from '@codingame/monaco-vscode-
|
|
21
|
+
import { NotebookMultiTextDiffEditor } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor';
|
|
22
22
|
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
23
23
|
import { TextEditorSelectionRevealType } from '@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor';
|
|
24
24
|
import product from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/product';
|
|
@@ -29,7 +29,7 @@ registerAction2(class extends Action2 {
|
|
|
29
29
|
super({
|
|
30
30
|
id: 'notebook.diff.openFile',
|
|
31
31
|
icon: Codicon.goToFile,
|
|
32
|
-
title: ( localize2(
|
|
32
|
+
title: ( localize2(9448, 'Open File')),
|
|
33
33
|
precondition: ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))),
|
|
34
34
|
menu: [{
|
|
35
35
|
id: MenuId.EditorTitle,
|
|
@@ -55,7 +55,7 @@ registerAction2(class extends Action2 {
|
|
|
55
55
|
constructor() {
|
|
56
56
|
super({
|
|
57
57
|
id: 'notebook.diff.cell.toggleCollapseUnchangedRegions',
|
|
58
|
-
title: ( localize2(
|
|
58
|
+
title: ( localize2(9449, 'Toggle Collapse Unchanged Regions')),
|
|
59
59
|
icon: Codicon.map,
|
|
60
60
|
toggled: ( ContextKeyExpr.has('config.diffEditor.hideUnchangedRegions.enabled')),
|
|
61
61
|
precondition: ( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)),
|
|
@@ -77,7 +77,7 @@ registerAction2(class extends Action2 {
|
|
|
77
77
|
super({
|
|
78
78
|
id: 'notebook.diff.switchToText',
|
|
79
79
|
icon: openAsTextIcon,
|
|
80
|
-
title: ( localize2(
|
|
80
|
+
title: ( localize2(9450, 'Open Text Diff Editor')),
|
|
81
81
|
precondition: ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))),
|
|
82
82
|
menu: [{
|
|
83
83
|
id: MenuId.EditorTitle,
|
|
@@ -110,7 +110,7 @@ registerAction2(class extends Action2 {
|
|
|
110
110
|
constructor() {
|
|
111
111
|
super({
|
|
112
112
|
id: 'notebook.diffEditor.showUnchangedCells',
|
|
113
|
-
title: ( localize2(
|
|
113
|
+
title: ( localize2(9451, 'Show Unchanged Cells')),
|
|
114
114
|
icon: Codicon.unfold,
|
|
115
115
|
precondition: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)), ( ContextKeyExpr.has(NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS.key)))),
|
|
116
116
|
menu: {
|
|
@@ -135,7 +135,7 @@ registerAction2(class extends Action2 {
|
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: 'notebook.diffEditor.hideUnchangedCells',
|
|
138
|
-
title: ( localize2(
|
|
138
|
+
title: ( localize2(9452, 'Hide Unchanged Cells')),
|
|
139
139
|
icon: Codicon.fold,
|
|
140
140
|
precondition: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)), ( ContextKeyExpr.has(NOTEBOOK_DIFF_HAS_UNCHANGED_CELLS.key)))),
|
|
141
141
|
menu: {
|
|
@@ -160,7 +160,7 @@ registerAction2(class GoToFileAction extends Action2 {
|
|
|
160
160
|
constructor() {
|
|
161
161
|
super({
|
|
162
162
|
id: 'notebook.diffEditor.2.goToCell',
|
|
163
|
-
title: ( localize2(
|
|
163
|
+
title: ( localize2(9453, 'Go To Cell')),
|
|
164
164
|
icon: Codicon.goToFile,
|
|
165
165
|
menu: {
|
|
166
166
|
when: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)), ( ContextKeyExpr.equals(NOTEBOOK_DIFF_ITEM_KIND.key, 'Cell')), ( ContextKeyExpr.notEquals(NOTEBOOK_DIFF_ITEM_DIFF_STATE.key, 'delete')))),
|
|
@@ -189,7 +189,7 @@ registerAction2(class extends Action2 {
|
|
|
189
189
|
constructor() {
|
|
190
190
|
super({
|
|
191
191
|
id: 'notebook.diff.revertMetadata',
|
|
192
|
-
title: ( localize(
|
|
192
|
+
title: ( localize(9454, "Revert Notebook Metadata")),
|
|
193
193
|
icon: revertIcon,
|
|
194
194
|
f1: false,
|
|
195
195
|
menu: {
|
|
@@ -214,7 +214,7 @@ registerAction2(class extends Action2 {
|
|
|
214
214
|
}], true, undefined, () => undefined, undefined, true);
|
|
215
215
|
}
|
|
216
216
|
});
|
|
217
|
-
const revertInput = ( localize(
|
|
217
|
+
const revertInput = ( localize(9455, "Revert Input"));
|
|
218
218
|
registerAction2(class extends Action2 {
|
|
219
219
|
constructor() {
|
|
220
220
|
super({
|
|
@@ -253,7 +253,7 @@ registerAction2(class extends Action2 {
|
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
});
|
|
256
|
-
const revertOutputs = ( localize(
|
|
256
|
+
const revertOutputs = ( localize(9456, "Revert Outputs"));
|
|
257
257
|
registerAction2(class extends Action2 {
|
|
258
258
|
constructor() {
|
|
259
259
|
super({
|
|
@@ -289,7 +289,7 @@ registerAction2(class extends Action2 {
|
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
});
|
|
292
|
-
const revertMetadata = ( localize(
|
|
292
|
+
const revertMetadata = ( localize(9457, "Revert Metadata"));
|
|
293
293
|
registerAction2(class extends Action2 {
|
|
294
294
|
constructor() {
|
|
295
295
|
super({
|
|
@@ -363,7 +363,7 @@ registerAction2(class extends Action2 {
|
|
|
363
363
|
constructor() {
|
|
364
364
|
super({
|
|
365
365
|
id: 'notebook.diff.cell.switchOutputRenderingStyleToText',
|
|
366
|
-
title: ( localize(
|
|
366
|
+
title: ( localize(9458, "Switch Output Rendering")),
|
|
367
367
|
icon: renderOutputIcon,
|
|
368
368
|
f1: false,
|
|
369
369
|
menu: {
|
|
@@ -383,7 +383,7 @@ registerAction2(class extends Action2 {
|
|
|
383
383
|
constructor() {
|
|
384
384
|
super({
|
|
385
385
|
id: 'notebook.diff.cell.revertOutputs',
|
|
386
|
-
title: ( localize(
|
|
386
|
+
title: ( localize(9456, "Revert Outputs")),
|
|
387
387
|
icon: revertIcon,
|
|
388
388
|
f1: false,
|
|
389
389
|
menu: {
|
|
@@ -415,7 +415,7 @@ registerAction2(class extends Action2 {
|
|
|
415
415
|
constructor() {
|
|
416
416
|
super({
|
|
417
417
|
id: 'notebook.toggle.diff.cell.ignoreTrimWhitespace',
|
|
418
|
-
title: ( localize(
|
|
418
|
+
title: ( localize(9459, "Show Leading/Trailing Whitespace Differences")),
|
|
419
419
|
icon: toggleWhitespace,
|
|
420
420
|
f1: false,
|
|
421
421
|
menu: {
|
|
@@ -503,19 +503,19 @@ class ToggleRenderAction extends Action2 {
|
|
|
503
503
|
}
|
|
504
504
|
registerAction2(class extends ToggleRenderAction {
|
|
505
505
|
constructor() {
|
|
506
|
-
super('notebook.diff.showOutputs', ( localize2(
|
|
506
|
+
super('notebook.diff.showOutputs', ( localize2(9460, 'Show Outputs Differences')), ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))), ( ContextKeyExpr.notEquals('config.notebook.diff.ignoreOutputs', true)), 2, true, undefined);
|
|
507
507
|
}
|
|
508
508
|
});
|
|
509
509
|
registerAction2(class extends ToggleRenderAction {
|
|
510
510
|
constructor() {
|
|
511
|
-
super('notebook.diff.showMetadata', ( localize2(
|
|
511
|
+
super('notebook.diff.showMetadata', ( localize2(9461, 'Show Metadata Differences')), ( ContextKeyExpr.or(( ActiveEditorContext.isEqualTo(NotebookTextDiffEditor.ID)), ( ActiveEditorContext.isEqualTo(NotebookMultiTextDiffEditor.ID)))), ( ContextKeyExpr.notEquals('config.notebook.diff.ignoreMetadata', true)), 1, undefined, true);
|
|
512
512
|
}
|
|
513
513
|
});
|
|
514
514
|
registerAction2(class extends Action2 {
|
|
515
515
|
constructor() {
|
|
516
516
|
super({
|
|
517
517
|
id: 'notebook.diff.action.previous',
|
|
518
|
-
title: ( localize(
|
|
518
|
+
title: ( localize(9462, "Show Previous Change")),
|
|
519
519
|
icon: previousChangeIcon,
|
|
520
520
|
f1: false,
|
|
521
521
|
keybinding: {
|
|
@@ -543,7 +543,7 @@ registerAction2(class extends Action2 {
|
|
|
543
543
|
constructor() {
|
|
544
544
|
super({
|
|
545
545
|
id: 'notebook.diff.action.next',
|
|
546
|
-
title: ( localize(
|
|
546
|
+
title: ( localize(9463, "Show Next Change")),
|
|
547
547
|
icon: nextChangeIcon,
|
|
548
548
|
f1: false,
|
|
549
549
|
keybinding: {
|
|
@@ -571,7 +571,7 @@ registerAction2(class extends Action2 {
|
|
|
571
571
|
constructor() {
|
|
572
572
|
super({
|
|
573
573
|
id: 'notebook.diff.inline.toggle',
|
|
574
|
-
title: ( localize(
|
|
574
|
+
title: ( localize(9464, "Toggle Inline View")),
|
|
575
575
|
menu: {
|
|
576
576
|
id: MenuId.EditorTitle,
|
|
577
577
|
group: '1_diff',
|
|
@@ -597,18 +597,18 @@ registerAction2(class extends Action2 {
|
|
|
597
597
|
'notebook.diff.ignoreMetadata': {
|
|
598
598
|
type: 'boolean',
|
|
599
599
|
default: false,
|
|
600
|
-
markdownDescription: ( localize(
|
|
600
|
+
markdownDescription: ( localize(9465, "Hide Metadata Differences"))
|
|
601
601
|
},
|
|
602
602
|
'notebook.diff.ignoreOutputs': {
|
|
603
603
|
type: 'boolean',
|
|
604
604
|
default: false,
|
|
605
|
-
markdownDescription: ( localize(
|
|
605
|
+
markdownDescription: ( localize(9466, "Hide Outputs Differences"))
|
|
606
606
|
},
|
|
607
607
|
'notebook.diff.experimental.toggleInline': {
|
|
608
608
|
type: 'boolean',
|
|
609
609
|
default: typeof product.quality === 'string' && product.quality !== 'stable',
|
|
610
610
|
markdownDescription: ( localize(
|
|
611
|
-
|
|
611
|
+
9467,
|
|
612
612
|
"Enable the command to toggle the experimental notebook inline diff editor."
|
|
613
613
|
))
|
|
614
614
|
},
|