@codingame/monaco-vscode-notebook-service-override 13.1.7 → 14.0.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/index.js +3 -3
- package/package.json +29 -28
- 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 +25 -24
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +6 -6
- 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 +2 -2
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookCellDecorators.js +536 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatActionsOverlay.js +310 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditController.js +182 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.js +42 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.js +72 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.js +425 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.js +0 -1
- 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 +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -1
- 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 +3 -3
- 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 +11 -11
- 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 +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +6 -6
- 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 +1 -1
- 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 +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookSelectionHighlight.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +310 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +2 -2
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +35 -25
- 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 +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 +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +32 -32
- 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 +29 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +19 -19
- 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 +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +92 -74
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
- 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 +2 -2
- 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 +1 -1
- 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.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +2 -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 +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +1 -1
- 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 +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +16 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +5 -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
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.d.ts +9 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js +5 -0
|
@@ -11,10 +11,10 @@ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
11
11
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
12
12
|
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
13
13
|
import { NOTEBOOK_ACTIONS_CATEGORY } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
14
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
14
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
15
15
|
import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
|
|
16
16
|
import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
17
|
-
import { NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_EDITOR_FOCUSED } from '@codingame/monaco-vscode-
|
|
17
|
+
import { NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_EDITOR_FOCUSED } from '@codingame/monaco-vscode-771c2e6d-0284-5ac1-be73-7176085eedc5-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
18
18
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
19
19
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
20
20
|
import { IPreferencesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/preferences/common/preferences.service';
|
|
@@ -23,7 +23,7 @@ registerAction2(class NotebookConfigureLayoutAction extends Action2 {
|
|
|
23
23
|
constructor() {
|
|
24
24
|
super({
|
|
25
25
|
id: 'workbench.notebook.layout.select',
|
|
26
|
-
title: ( localize2(
|
|
26
|
+
title: ( localize2(7666, "Select between Notebook Layouts")),
|
|
27
27
|
f1: true,
|
|
28
28
|
precondition: ( ContextKeyExpr.equals(`config.${NotebookSetting.openGettingStarted}`, true)),
|
|
29
29
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
@@ -51,7 +51,7 @@ registerAction2(class NotebookConfigureLayoutAction extends Action2 {
|
|
|
51
51
|
constructor() {
|
|
52
52
|
super({
|
|
53
53
|
id: 'workbench.notebook.layout.configure',
|
|
54
|
-
title: ( localize2(
|
|
54
|
+
title: ( localize2(7667, "Customize Notebook Layout")),
|
|
55
55
|
f1: true,
|
|
56
56
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
57
57
|
menu: [
|
|
@@ -72,7 +72,7 @@ registerAction2(class NotebookConfigureLayoutFromEditorTitle extends Action2 {
|
|
|
72
72
|
constructor() {
|
|
73
73
|
super({
|
|
74
74
|
id: 'workbench.notebook.layout.configure.editorTitle',
|
|
75
|
-
title: ( localize2(
|
|
75
|
+
title: ( localize2(7667, "Customize Notebook Layout")),
|
|
76
76
|
f1: false,
|
|
77
77
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
78
78
|
menu: [
|
|
@@ -92,7 +92,7 @@ registerAction2(class NotebookConfigureLayoutFromEditorTitle extends Action2 {
|
|
|
92
92
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
93
93
|
submenu: MenuId.NotebookEditorLayoutConfigure,
|
|
94
94
|
rememberDefaultAction: false,
|
|
95
|
-
title: ( localize2(
|
|
95
|
+
title: ( localize2(7668, "Customize Notebook...")),
|
|
96
96
|
icon: Codicon.gear,
|
|
97
97
|
group: 'navigation',
|
|
98
98
|
order: -1,
|
|
@@ -102,7 +102,7 @@ registerAction2(class ToggleLineNumberFromEditorTitle extends Action2 {
|
|
|
102
102
|
constructor() {
|
|
103
103
|
super({
|
|
104
104
|
id: 'notebook.toggleLineNumbersFromEditorTitle',
|
|
105
|
-
title: ( localize2(
|
|
105
|
+
title: ( localize2(7669, 'Toggle Notebook Line Numbers')),
|
|
106
106
|
precondition: NOTEBOOK_EDITOR_FOCUSED,
|
|
107
107
|
menu: [
|
|
108
108
|
{
|
|
@@ -116,7 +116,7 @@ registerAction2(class ToggleLineNumberFromEditorTitle extends Action2 {
|
|
|
116
116
|
f1: true,
|
|
117
117
|
toggled: {
|
|
118
118
|
condition: ( ContextKeyExpr.notEquals('config.notebook.lineNumbers', 'off')),
|
|
119
|
-
title: ( localize(
|
|
119
|
+
title: ( localize(7670, "Notebook Line Numbers")),
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
122
|
}
|
|
@@ -128,7 +128,7 @@ registerAction2(class ToggleCellToolbarPositionFromEditorTitle extends Action2 {
|
|
|
128
128
|
constructor() {
|
|
129
129
|
super({
|
|
130
130
|
id: 'notebook.toggleCellToolbarPositionFromEditorTitle',
|
|
131
|
-
title: ( localize2(
|
|
131
|
+
title: ( localize2(7671, 'Toggle Cell Toolbar Position')),
|
|
132
132
|
menu: [{
|
|
133
133
|
id: MenuId.NotebookEditorLayoutConfigure,
|
|
134
134
|
group: 'notebookLayoutDetails',
|
|
@@ -146,7 +146,7 @@ registerAction2(class ToggleBreadcrumbFromEditorTitle extends Action2 {
|
|
|
146
146
|
constructor() {
|
|
147
147
|
super({
|
|
148
148
|
id: 'breadcrumbs.toggleFromEditorTitle',
|
|
149
|
-
title: ( localize2(
|
|
149
|
+
title: ( localize2(7672, 'Toggle Breadcrumbs')),
|
|
150
150
|
menu: [{
|
|
151
151
|
id: MenuId.NotebookEditorLayoutConfigure,
|
|
152
152
|
group: 'notebookLayoutDetails',
|
|
@@ -163,7 +163,7 @@ registerAction2(class SaveMimeTypeDisplayOrder extends Action2 {
|
|
|
163
163
|
constructor() {
|
|
164
164
|
super({
|
|
165
165
|
id: 'notebook.saveMimeTypeOrder',
|
|
166
|
-
title: ( localize2(
|
|
166
|
+
title: ( localize2(7673, "Save Mimetype Display Order")),
|
|
167
167
|
f1: true,
|
|
168
168
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
169
169
|
precondition: NOTEBOOK_IS_ACTIVE_EDITOR,
|
|
@@ -173,10 +173,10 @@ registerAction2(class SaveMimeTypeDisplayOrder extends Action2 {
|
|
|
173
173
|
const service = accessor.get(INotebookService);
|
|
174
174
|
const disposables = ( new DisposableStore());
|
|
175
175
|
const qp = disposables.add(accessor.get(IQuickInputService).createQuickPick());
|
|
176
|
-
qp.placeholder = ( localize(
|
|
176
|
+
qp.placeholder = ( localize(7674, 'Settings file to save in'));
|
|
177
177
|
qp.items = [
|
|
178
|
-
{ target: ConfigurationTarget.USER, label: ( localize(
|
|
179
|
-
{ target: ConfigurationTarget.WORKSPACE, label: ( localize(
|
|
178
|
+
{ target: ConfigurationTarget.USER, label: ( localize(7675, 'User Settings')) },
|
|
179
|
+
{ target: ConfigurationTarget.WORKSPACE, label: ( localize(7676, 'Workspace Settings')) },
|
|
180
180
|
];
|
|
181
181
|
disposables.add(qp.onDidAccept(() => {
|
|
182
182
|
const target = qp.selectedItems[0]?.target;
|
|
@@ -193,7 +193,7 @@ registerAction2(class NotebookWebviewResetAction extends Action2 {
|
|
|
193
193
|
constructor() {
|
|
194
194
|
super({
|
|
195
195
|
id: 'workbench.notebook.layout.webview.reset',
|
|
196
|
-
title: ( localize2(
|
|
196
|
+
title: ( localize2(7677, "Reset Notebook Webview")),
|
|
197
197
|
f1: false,
|
|
198
198
|
category: NOTEBOOK_ACTIONS_CATEGORY
|
|
199
199
|
});
|
|
@@ -224,14 +224,14 @@ registerAction2(class ToggleNotebookStickyScroll extends Action2 {
|
|
|
224
224
|
super({
|
|
225
225
|
id: 'notebook.action.toggleNotebookStickyScroll',
|
|
226
226
|
title: {
|
|
227
|
-
...( localize2(
|
|
228
|
-
mnemonicTitle: ( localize(
|
|
227
|
+
...( localize2(7678, "Toggle Notebook Sticky Scroll")),
|
|
228
|
+
mnemonicTitle: ( localize(7679, "&&Toggle Notebook Sticky Scroll")),
|
|
229
229
|
},
|
|
230
230
|
category: Categories.View,
|
|
231
231
|
toggled: {
|
|
232
232
|
condition: ( ContextKeyExpr.equals('config.notebook.stickyScroll.enabled', true)),
|
|
233
|
-
title: ( localize(
|
|
234
|
-
mnemonicTitle: ( localize(
|
|
233
|
+
title: ( localize(7680, "Toggle Notebook Sticky Scroll")),
|
|
234
|
+
mnemonicTitle: ( localize(7679, "&&Toggle Notebook Sticky Scroll")),
|
|
235
235
|
},
|
|
236
236
|
menu: [
|
|
237
237
|
{ id: MenuId.CommandPalette },
|
package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js
CHANGED
|
@@ -10,7 +10,7 @@ import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log
|
|
|
10
10
|
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
11
11
|
import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
|
|
12
12
|
import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
13
|
-
import { isNotebookEditorInput } from '@codingame/monaco-vscode-
|
|
13
|
+
import { isNotebookEditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
14
14
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
15
|
|
|
16
16
|
class NotebookIndentUsingTabs extends Action2 {
|
|
@@ -18,7 +18,7 @@ class NotebookIndentUsingTabs extends Action2 {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: NotebookIndentUsingTabs.ID,
|
|
21
|
-
title: ( localize(
|
|
21
|
+
title: ( localize(7681, "Indent Using Tabs")),
|
|
22
22
|
precondition: undefined,
|
|
23
23
|
});
|
|
24
24
|
}
|
|
@@ -31,7 +31,7 @@ class NotebookIndentUsingSpaces extends Action2 {
|
|
|
31
31
|
constructor() {
|
|
32
32
|
super({
|
|
33
33
|
id: NotebookIndentUsingSpaces.ID,
|
|
34
|
-
title: ( localize(
|
|
34
|
+
title: ( localize(7682, "Indent Using Spaces")),
|
|
35
35
|
precondition: undefined,
|
|
36
36
|
});
|
|
37
37
|
}
|
|
@@ -44,7 +44,7 @@ class NotebookChangeTabDisplaySize extends Action2 {
|
|
|
44
44
|
constructor() {
|
|
45
45
|
super({
|
|
46
46
|
id: NotebookChangeTabDisplaySize.ID,
|
|
47
|
-
title: ( localize(
|
|
47
|
+
title: ( localize(7683, "Change Tab Display Size")),
|
|
48
48
|
precondition: undefined,
|
|
49
49
|
});
|
|
50
50
|
}
|
|
@@ -57,7 +57,7 @@ class NotebookIndentationToSpacesAction extends Action2 {
|
|
|
57
57
|
constructor() {
|
|
58
58
|
super({
|
|
59
59
|
id: NotebookIndentationToSpacesAction.ID,
|
|
60
|
-
title: ( localize(
|
|
60
|
+
title: ( localize(7684, "Convert Indentation to Spaces")),
|
|
61
61
|
precondition: undefined,
|
|
62
62
|
});
|
|
63
63
|
}
|
|
@@ -70,7 +70,7 @@ class NotebookIndentationToTabsAction extends Action2 {
|
|
|
70
70
|
constructor() {
|
|
71
71
|
super({
|
|
72
72
|
id: NotebookIndentationToTabsAction.ID,
|
|
73
|
-
title: ( localize(
|
|
73
|
+
title: ( localize(7685, "Convert Indentation to Tabs")),
|
|
74
74
|
precondition: undefined,
|
|
75
75
|
});
|
|
76
76
|
}
|
|
@@ -102,7 +102,7 @@ function changeNotebookIndentation(accessor, insertSpaces, displaySizeOnly) {
|
|
|
102
102
|
delete initialConfig['editor.tabSize'];
|
|
103
103
|
delete initialConfig['editor.insertSpaces'];
|
|
104
104
|
setTimeout(() => {
|
|
105
|
-
quickInputService.pick(picks, { placeHolder: ( localize(
|
|
105
|
+
quickInputService.pick(picks, { placeHolder: ( localize(7686, "Select Tab Size for Current File")) }).then(pick => {
|
|
106
106
|
if (pick) {
|
|
107
107
|
const pickedVal = parseInt(pick.label, 10);
|
|
108
108
|
if (displaySizeOnly) {
|
|
@@ -152,7 +152,7 @@ function convertNotebookIndentation(accessor, tabsToSpaces) {
|
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
154
|
const edits = getIndentationEditOperations(textEditorModel, modelOpts.tabSize, tabsToSpaces);
|
|
155
|
-
bulkEditService.apply(edits, { label: ( localize(
|
|
155
|
+
bulkEditService.apply(edits, { label: ( localize(7687, "Convert Indentation")), code: 'undoredo.convertIndentation', });
|
|
156
156
|
}))).then(() => {
|
|
157
157
|
const initialConfig = configurationService.getValue(NotebookSetting.cellEditorOptionsCustomizations);
|
|
158
158
|
const initialIndentSize = initialConfig['editor.indentSize'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Action2 } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
|
|
2
2
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
3
|
-
import { ICellViewModel, INotebookEditor } from "@codingame/monaco-vscode-
|
|
3
|
+
import { ICellViewModel, INotebookEditor } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
4
4
|
import { OutlineEntry } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry";
|
|
5
5
|
export type NotebookOutlineEntryArgs = {
|
|
6
6
|
notebookEditor: INotebookEditor;
|
|
@@ -4,10 +4,10 @@ import { Action2, MenuId, registerAction2 } from '@codingame/monaco-vscode-api/v
|
|
|
4
4
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
5
|
import { NotebookOutlineContext } from '../contrib/outline/notebookOutline.js';
|
|
6
6
|
import { FoldingController } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/foldingController';
|
|
7
|
-
import { CellEditState, CellFoldingState } from '@codingame/monaco-vscode-
|
|
7
|
+
import { CellEditState, CellFoldingState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
8
8
|
import { executeIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
9
9
|
import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
10
|
-
import { OutlineTarget } from '@codingame/monaco-vscode-
|
|
10
|
+
import { OutlineTarget } from '@codingame/monaco-vscode-d4a98668-f793-5361-a9cf-1e6ae6d62ce3-common/vscode/vs/workbench/services/outline/browser/outline';
|
|
11
11
|
import { CELL_TITLE_CELL_GROUP_ID, CellToolbarOrder } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
12
12
|
import { executeSectionCondition } from './executeActions.js';
|
|
13
13
|
|
|
@@ -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(7688, "Run Cell")),
|
|
20
|
+
mnemonicTitle: ( localize(7689, "&&Run Cell")),
|
|
21
21
|
},
|
|
22
|
-
shortTitle: ( localize(
|
|
22
|
+
shortTitle: ( localize(7688, "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(7690, "Run Cells In Section")),
|
|
47
|
+
mnemonicTitle: ( localize(7691, "&&Run Cells In Section")),
|
|
48
48
|
},
|
|
49
|
-
shortTitle: ( localize(
|
|
49
|
+
shortTitle: ( localize(7690, "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(7692, "Fold Section")),
|
|
109
|
+
mnemonicTitle: ( localize(7693, "&&Fold Section")),
|
|
110
110
|
},
|
|
111
|
-
shortTitle: ( localize(
|
|
111
|
+
shortTitle: ( localize(7692, "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(7694, "Expand Section")),
|
|
142
|
+
mnemonicTitle: ( localize(7695, "&&Expand Section")),
|
|
143
143
|
},
|
|
144
|
-
shortTitle: ( localize(
|
|
144
|
+
shortTitle: ( localize(7694, "Expand Section")),
|
|
145
145
|
menu: [
|
|
146
146
|
{
|
|
147
147
|
id: MenuId.NotebookOutlineActionMenu,
|
|
@@ -3,7 +3,7 @@ import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
|
3
3
|
import { registerAction2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
4
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
5
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
6
|
-
import { KERNEL_HAS_VARIABLE_PROVIDER } from '@codingame/monaco-vscode-
|
|
6
|
+
import { KERNEL_HAS_VARIABLE_PROVIDER } from '@codingame/monaco-vscode-771c2e6d-0284-5ac1-be73-7176085eedc5-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
7
7
|
import { NOTEBOOK_VARIABLE_VIEW_ENABLED } from '../contrib/notebookVariables/notebookVariableContextKeys.js';
|
|
8
8
|
import { variablesViewIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
9
9
|
import { NotebookAction } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
@@ -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(7696, "Variables")),
|
|
17
17
|
icon: variablesViewIcon,
|
|
18
18
|
menu: [
|
|
19
19
|
{
|
|
@@ -5,8 +5,8 @@ import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/v
|
|
|
5
5
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
6
6
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
7
7
|
import { ActiveEditorContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
8
|
-
import { SideBySideDiffElementViewModel } from '@codingame/monaco-vscode-
|
|
9
|
-
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_INPUT, NOTEBOOK_DIFF_CELL_IGNORE_WHITESPACE_KEY } from '@codingame/monaco-vscode-
|
|
8
|
+
import { SideBySideDiffElementViewModel } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel';
|
|
9
|
+
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_INPUT, NOTEBOOK_DIFF_CELL_IGNORE_WHITESPACE_KEY } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser';
|
|
10
10
|
import { NotebookTextDiffEditor } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor';
|
|
11
11
|
import { openAsTextIcon, revertIcon, renderOutputIcon, toggleWhitespace, previousChangeIcon, nextChangeIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
12
12
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
@@ -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(7708, '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(7709, '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(7710, '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(7711, '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(7712, '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(7713, '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(7714, "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(7715, "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(7716, "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(7717, "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(7718, "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(7716, "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(7719, "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(7720, '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(7721, '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(7722, "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(7723, "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(7724, "Hide Metadata Differences"))
|
|
576
576
|
},
|
|
577
577
|
'notebook.diff.ignoreOutputs': {
|
|
578
578
|
type: 'boolean',
|
|
579
579
|
default: false,
|
|
580
|
-
markdownDescription: ( localize(
|
|
580
|
+
markdownDescription: ( localize(7725, "Hide Outputs Differences"))
|
|
581
581
|
},
|
|
582
582
|
}
|
|
583
583
|
});
|