@codingame/monaco-vscode-notebook-service-override 13.0.0 → 13.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/package.json +28 -36
- 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/cellDiagnosticEditorContrib.js +1 -1
- 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/debug/notebookDebugDecorations.js +1 -1
- 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/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 +10 -10
- 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 +63 -63
- 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/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 +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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-notebook-service-override",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - notebook service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,43 +15,35 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "13.
|
|
19
|
-
"@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common": "13.
|
|
20
|
-
"@codingame/monaco-vscode-1ae7d696-d960-5ac6-97a3-9fe7c8c3a793-common": "13.
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
22
|
-
"@codingame/monaco-vscode-
|
|
23
|
-
"@codingame/monaco-vscode-
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
29
|
-
"@codingame/monaco-vscode-
|
|
30
|
-
"@codingame/monaco-vscode-
|
|
31
|
-
"@codingame/monaco-vscode-
|
|
32
|
-
"@codingame/monaco-vscode-
|
|
33
|
-
"@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common": "13.
|
|
34
|
-
"@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common": "13.
|
|
35
|
-
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.
|
|
36
|
-
"@codingame/monaco-vscode-9ee79c1a-3f03-568b-8eac-b02513a98b68-common": "13.
|
|
37
|
-
"@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common": "13.
|
|
38
|
-
"@codingame/monaco-vscode-
|
|
39
|
-
"@codingame/monaco-vscode-
|
|
40
|
-
"@codingame/monaco-vscode-
|
|
41
|
-
"@codingame/monaco-vscode-
|
|
42
|
-
"@codingame/monaco-vscode-
|
|
43
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "13.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common": "13.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-1ae7d696-d960-5ac6-97a3-9fe7c8c3a793-common": "13.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": "13.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-3a00040f-b81b-50bc-88da-35f611c0bd1e-common": "13.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-47923ab1-c4c8-58b5-89ac-fa1b998eb5dd-common": "13.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common": "13.1.0",
|
|
25
|
+
"@codingame/monaco-vscode-4e719823-8b6e-554d-b01a-5670b53fbb19-common": "13.1.0",
|
|
26
|
+
"@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common": "13.1.0",
|
|
27
|
+
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.1.0",
|
|
28
|
+
"@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "13.1.0",
|
|
29
|
+
"@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common": "13.1.0",
|
|
30
|
+
"@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common": "13.1.0",
|
|
31
|
+
"@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common": "13.1.0",
|
|
32
|
+
"@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common": "13.1.0",
|
|
33
|
+
"@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common": "13.1.0",
|
|
34
|
+
"@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common": "13.1.0",
|
|
35
|
+
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.0",
|
|
36
|
+
"@codingame/monaco-vscode-9ee79c1a-3f03-568b-8eac-b02513a98b68-common": "13.1.0",
|
|
37
|
+
"@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common": "13.1.0",
|
|
38
|
+
"@codingame/monaco-vscode-api": "13.1.0",
|
|
39
|
+
"@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common": "13.1.0",
|
|
40
|
+
"@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "13.1.0",
|
|
41
|
+
"@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.0",
|
|
42
|
+
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "13.1.0",
|
|
43
|
+
"@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common": "13.1.0",
|
|
44
|
+
"@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common": "13.1.0",
|
|
44
45
|
"marked": "14.0.0"
|
|
45
46
|
},
|
|
46
|
-
"peerDependencies": {
|
|
47
|
-
"@codingame/monaco-vscode-api": "13.0.0",
|
|
48
|
-
"@codingame/monaco-vscode-base-service-override": "13.0.0"
|
|
49
|
-
},
|
|
50
|
-
"peerDependenciesMeta": {
|
|
51
|
-
"@codingame/monaco-vscode-base-service-override": {
|
|
52
|
-
"optional": true
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
47
|
"main": "index.js",
|
|
56
48
|
"module": "index.js",
|
|
57
49
|
"types": "index.d.ts",
|
|
@@ -196,8 +196,8 @@ class EmptyTextEditorHintContentWidget {
|
|
|
196
196
|
getActions: () => {
|
|
197
197
|
return [{
|
|
198
198
|
id: 'workench.action.disableEmptyEditorHint',
|
|
199
|
-
label: ( localize(
|
|
200
|
-
tooltip: ( localize(
|
|
199
|
+
label: ( localize(4687, "Disable Empty Editor Hint")),
|
|
200
|
+
tooltip: ( localize(4687, "Disable Empty Editor Hint")),
|
|
201
201
|
enabled: true,
|
|
202
202
|
class: undefined,
|
|
203
203
|
run: () => {
|
|
@@ -235,7 +235,7 @@ class EmptyTextEditorHintContentWidget {
|
|
|
235
235
|
const keybindingHintLabel = keybindingHint?.getLabel();
|
|
236
236
|
if (keybindingHint && keybindingHintLabel) {
|
|
237
237
|
const actionPart = ( localize(
|
|
238
|
-
|
|
238
|
+
4688,
|
|
239
239
|
'Press {0} to ask {1} to do something. ',
|
|
240
240
|
keybindingHintLabel,
|
|
241
241
|
providerName
|
|
@@ -266,7 +266,7 @@ class EmptyTextEditorHintContentWidget {
|
|
|
266
266
|
this.toDispose.add(addDisposableListener(label.element, EventType.CLICK, handleClick));
|
|
267
267
|
}
|
|
268
268
|
hintElement.appendChild(after);
|
|
269
|
-
const typeToDismiss = ( localize(
|
|
269
|
+
const typeToDismiss = ( localize(4689, 'Start typing to dismiss.'));
|
|
270
270
|
const textHint2 = $('span', undefined, typeToDismiss);
|
|
271
271
|
textHint2.style.fontStyle = 'italic';
|
|
272
272
|
hintElement.appendChild(textHint2);
|
|
@@ -274,7 +274,7 @@ class EmptyTextEditorHintContentWidget {
|
|
|
274
274
|
}
|
|
275
275
|
else {
|
|
276
276
|
const hintMsg = ( localize(
|
|
277
|
-
|
|
277
|
+
4690,
|
|
278
278
|
'[[Ask {0} to do something]] or start typing to dismiss.',
|
|
279
279
|
providerName
|
|
280
280
|
));
|
|
@@ -334,7 +334,7 @@ class EmptyTextEditorHintContentWidget {
|
|
|
334
334
|
}
|
|
335
335
|
};
|
|
336
336
|
const hintMsg = ( localize(
|
|
337
|
-
|
|
337
|
+
4691,
|
|
338
338
|
'[[Select a language]], or [[fill with template]], or [[open a different editor]] to get started.\nStart typing to dismiss or [[don\'t show]] this again.'
|
|
339
339
|
));
|
|
340
340
|
const hintElement = renderFormattedText(hintMsg, {
|
|
@@ -345,7 +345,7 @@ class EmptyTextEditorHintContentWidget {
|
|
|
345
345
|
const keybindingsLookup = [ChangeLanguageAction.ID, ApplyFileSnippetAction.Id, 'welcome.showNewFileEntries'];
|
|
346
346
|
const keybindingLabels = ( keybindingsLookup.map((id) => this.keybindingService.lookupKeybinding(id)?.getLabel() ?? id));
|
|
347
347
|
const ariaLabel = ( localize(
|
|
348
|
-
|
|
348
|
+
4692,
|
|
349
349
|
'Execute {0} to select a language, execute {1} to fill with template, or execute {2} to open a different editor and get started. Start typing to dismiss.',
|
|
350
350
|
...keybindingLabels
|
|
351
351
|
));
|
|
@@ -366,7 +366,7 @@ class EmptyTextEditorHintContentWidget {
|
|
|
366
366
|
const { hintElement, ariaLabel } = !inlineChatProviders.length ? this._getHintDefault() : this._getHintInlineChat(inlineChatProviders);
|
|
367
367
|
this.domNode.append(hintElement);
|
|
368
368
|
this.ariaLabel = ariaLabel.concat(( localize(
|
|
369
|
-
|
|
369
|
+
4693,
|
|
370
370
|
' Toggle {0} in settings to disable this hint.',
|
|
371
371
|
AccessibilityVerbositySettingId.EmptyEditorHint
|
|
372
372
|
)));
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js
CHANGED
|
@@ -26,7 +26,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
26
26
|
constructor() {
|
|
27
27
|
super({
|
|
28
28
|
id: MOVE_CELL_UP_COMMAND_ID,
|
|
29
|
-
title: ( localize2(
|
|
29
|
+
title: ( localize2(7297, "Move Cell Up")),
|
|
30
30
|
icon: moveUpIcon,
|
|
31
31
|
keybinding: {
|
|
32
32
|
primary: KeyMod.Alt | KeyCode.UpArrow,
|
|
@@ -49,7 +49,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
49
49
|
constructor() {
|
|
50
50
|
super({
|
|
51
51
|
id: MOVE_CELL_DOWN_COMMAND_ID,
|
|
52
|
-
title: ( localize2(
|
|
52
|
+
title: ( localize2(7298, "Move Cell Down")),
|
|
53
53
|
icon: moveDownIcon,
|
|
54
54
|
keybinding: {
|
|
55
55
|
primary: KeyMod.Alt | KeyCode.DownArrow,
|
|
@@ -72,7 +72,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
72
72
|
constructor() {
|
|
73
73
|
super({
|
|
74
74
|
id: COPY_CELL_UP_COMMAND_ID,
|
|
75
|
-
title: ( localize2(
|
|
75
|
+
title: ( localize2(7299, "Copy Cell Up")),
|
|
76
76
|
keybinding: {
|
|
77
77
|
primary: KeyMod.Alt | KeyMod.Shift | KeyCode.UpArrow,
|
|
78
78
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( InputFocusedContext.toNegated()))),
|
|
@@ -88,7 +88,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
88
88
|
constructor() {
|
|
89
89
|
super({
|
|
90
90
|
id: COPY_CELL_DOWN_COMMAND_ID,
|
|
91
|
-
title: ( localize2(
|
|
91
|
+
title: ( localize2(7300, "Copy Cell Down")),
|
|
92
92
|
keybinding: {
|
|
93
93
|
primary: KeyMod.Alt | KeyMod.Shift | KeyCode.DownArrow,
|
|
94
94
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( InputFocusedContext.toNegated()))),
|
|
@@ -114,7 +114,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
114
114
|
constructor() {
|
|
115
115
|
super({
|
|
116
116
|
id: SPLIT_CELL_COMMAND_ID,
|
|
117
|
-
title: ( localize2(
|
|
117
|
+
title: ( localize2(7301, "Split Cell")),
|
|
118
118
|
menu: {
|
|
119
119
|
id: MenuId.NotebookCellTitle,
|
|
120
120
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE, ( NOTEBOOK_CELL_INPUT_COLLAPSED.toNegated()))),
|
|
@@ -180,7 +180,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
180
180
|
constructor() {
|
|
181
181
|
super({
|
|
182
182
|
id: JOIN_CELL_ABOVE_COMMAND_ID,
|
|
183
|
-
title: ( localize2(
|
|
183
|
+
title: ( localize2(7302, "Join With Previous Cell")),
|
|
184
184
|
keybinding: {
|
|
185
185
|
when: NOTEBOOK_EDITOR_FOCUSED,
|
|
186
186
|
primary: KeyMod.WinCtrl | KeyMod.Alt | KeyMod.Shift | KeyCode.KeyJ,
|
|
@@ -203,7 +203,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
203
203
|
constructor() {
|
|
204
204
|
super({
|
|
205
205
|
id: JOIN_CELL_BELOW_COMMAND_ID,
|
|
206
|
-
title: ( localize2(
|
|
206
|
+
title: ( localize2(7303, "Join With Next Cell")),
|
|
207
207
|
keybinding: {
|
|
208
208
|
when: NOTEBOOK_EDITOR_FOCUSED,
|
|
209
209
|
primary: KeyMod.WinCtrl | KeyMod.Alt | KeyCode.KeyJ,
|
|
@@ -226,7 +226,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
226
226
|
constructor() {
|
|
227
227
|
super({
|
|
228
228
|
id: JOIN_SELECTED_CELLS_COMMAND_ID,
|
|
229
|
-
title: ( localize2(
|
|
229
|
+
title: ( localize2(7304, "Join Selected Cells")),
|
|
230
230
|
menu: {
|
|
231
231
|
id: MenuId.NotebookCellTitle,
|
|
232
232
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE)),
|
|
@@ -247,7 +247,7 @@ registerAction2(class ChangeCellToCodeAction extends NotebookMultiCellAction {
|
|
|
247
247
|
constructor() {
|
|
248
248
|
super({
|
|
249
249
|
id: CHANGE_CELL_TO_CODE_COMMAND_ID,
|
|
250
|
-
title: ( localize2(
|
|
250
|
+
title: ( localize2(7305, "Change Cell to Code")),
|
|
251
251
|
keybinding: {
|
|
252
252
|
when: ( ContextKeyExpr.and(
|
|
253
253
|
NOTEBOOK_EDITOR_FOCUSED,
|
|
@@ -278,7 +278,7 @@ registerAction2(class ChangeCellToMarkdownAction extends NotebookMultiCellAction
|
|
|
278
278
|
constructor() {
|
|
279
279
|
super({
|
|
280
280
|
id: CHANGE_CELL_TO_MARKDOWN_COMMAND_ID,
|
|
281
|
-
title: ( localize2(
|
|
281
|
+
title: ( localize2(7306, "Change Cell to Markdown")),
|
|
282
282
|
keybinding: {
|
|
283
283
|
when: ( ContextKeyExpr.and(
|
|
284
284
|
NOTEBOOK_EDITOR_FOCUSED,
|
|
@@ -317,7 +317,7 @@ registerAction2(class CollapseCellInputAction extends NotebookMultiCellAction {
|
|
|
317
317
|
constructor() {
|
|
318
318
|
super({
|
|
319
319
|
id: COLLAPSE_CELL_INPUT_COMMAND_ID,
|
|
320
|
-
title: ( localize2(
|
|
320
|
+
title: ( localize2(7307, "Collapse Cell Input")),
|
|
321
321
|
keybinding: {
|
|
322
322
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( NOTEBOOK_CELL_INPUT_COLLAPSED.toNegated()), ( InputFocusedContext.toNegated()))),
|
|
323
323
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyMod.CtrlCmd | KeyCode.KeyC),
|
|
@@ -341,7 +341,7 @@ registerAction2(class ExpandCellInputAction extends NotebookMultiCellAction {
|
|
|
341
341
|
constructor() {
|
|
342
342
|
super({
|
|
343
343
|
id: EXPAND_CELL_INPUT_COMMAND_ID,
|
|
344
|
-
title: ( localize2(
|
|
344
|
+
title: ( localize2(7308, "Expand Cell Input")),
|
|
345
345
|
keybinding: {
|
|
346
346
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_CELL_INPUT_COLLAPSED)),
|
|
347
347
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyMod.CtrlCmd | KeyCode.KeyC),
|
|
@@ -365,7 +365,7 @@ registerAction2(class CollapseCellOutputAction extends NotebookMultiCellAction {
|
|
|
365
365
|
constructor() {
|
|
366
366
|
super({
|
|
367
367
|
id: COLLAPSE_CELL_OUTPUT_COMMAND_ID,
|
|
368
|
-
title: ( localize2(
|
|
368
|
+
title: ( localize2(7309, "Collapse Cell Output")),
|
|
369
369
|
keybinding: {
|
|
370
370
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( NOTEBOOK_CELL_OUTPUT_COLLAPSED.toNegated()), ( InputFocusedContext.toNegated()), NOTEBOOK_CELL_HAS_OUTPUTS)),
|
|
371
371
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyT),
|
|
@@ -386,7 +386,7 @@ registerAction2(class ExpandCellOuputAction extends NotebookMultiCellAction {
|
|
|
386
386
|
constructor() {
|
|
387
387
|
super({
|
|
388
388
|
id: EXPAND_CELL_OUTPUT_COMMAND_ID,
|
|
389
|
-
title: ( localize2(
|
|
389
|
+
title: ( localize2(7310, "Expand Cell Output")),
|
|
390
390
|
keybinding: {
|
|
391
391
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_CELL_OUTPUT_COLLAPSED)),
|
|
392
392
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyT),
|
|
@@ -408,9 +408,9 @@ registerAction2(class extends NotebookMultiCellAction {
|
|
|
408
408
|
super({
|
|
409
409
|
id: TOGGLE_CELL_OUTPUTS_COMMAND_ID,
|
|
410
410
|
precondition: NOTEBOOK_CELL_LIST_FOCUSED,
|
|
411
|
-
title: ( localize2(
|
|
411
|
+
title: ( localize2(7311, "Toggle Outputs")),
|
|
412
412
|
metadata: {
|
|
413
|
-
description: ( localize(
|
|
413
|
+
description: ( localize(7311, "Toggle Outputs")),
|
|
414
414
|
args: cellExecutionArgs
|
|
415
415
|
}
|
|
416
416
|
});
|
|
@@ -435,7 +435,7 @@ registerAction2(class CollapseAllCellInputsAction extends NotebookMultiCellActio
|
|
|
435
435
|
constructor() {
|
|
436
436
|
super({
|
|
437
437
|
id: COLLAPSE_ALL_CELL_INPUTS_COMMAND_ID,
|
|
438
|
-
title: ( localize2(
|
|
438
|
+
title: ( localize2(7312, "Collapse All Cell Inputs")),
|
|
439
439
|
f1: true,
|
|
440
440
|
});
|
|
441
441
|
}
|
|
@@ -447,7 +447,7 @@ registerAction2(class ExpandAllCellInputsAction extends NotebookMultiCellAction
|
|
|
447
447
|
constructor() {
|
|
448
448
|
super({
|
|
449
449
|
id: EXPAND_ALL_CELL_INPUTS_COMMAND_ID,
|
|
450
|
-
title: ( localize2(
|
|
450
|
+
title: ( localize2(7313, "Expand All Cell Inputs")),
|
|
451
451
|
f1: true
|
|
452
452
|
});
|
|
453
453
|
}
|
|
@@ -459,7 +459,7 @@ registerAction2(class CollapseAllCellOutputsAction extends NotebookMultiCellActi
|
|
|
459
459
|
constructor() {
|
|
460
460
|
super({
|
|
461
461
|
id: COLLAPSE_ALL_CELL_OUTPUTS_COMMAND_ID,
|
|
462
|
-
title: ( localize2(
|
|
462
|
+
title: ( localize2(7314, "Collapse All Cell Outputs")),
|
|
463
463
|
f1: true,
|
|
464
464
|
});
|
|
465
465
|
}
|
|
@@ -471,7 +471,7 @@ registerAction2(class ExpandAllCellOutputsAction extends NotebookMultiCellAction
|
|
|
471
471
|
constructor() {
|
|
472
472
|
super({
|
|
473
473
|
id: EXPAND_ALL_CELL_OUTPUTS_COMMAND_ID,
|
|
474
|
-
title: ( localize2(
|
|
474
|
+
title: ( localize2(7315, "Expand All Cell Outputs")),
|
|
475
475
|
f1: true
|
|
476
476
|
});
|
|
477
477
|
}
|
|
@@ -483,7 +483,7 @@ registerAction2(class ToggleCellOutputScrolling extends NotebookMultiCellAction
|
|
|
483
483
|
constructor() {
|
|
484
484
|
super({
|
|
485
485
|
id: TOGGLE_CELL_OUTPUT_SCROLLING,
|
|
486
|
-
title: ( localize2(
|
|
486
|
+
title: ( localize2(7316, "Toggle Scroll Cell Output")),
|
|
487
487
|
keybinding: {
|
|
488
488
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( InputFocusedContext.toNegated()), NOTEBOOK_CELL_HAS_OUTPUTS)),
|
|
489
489
|
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyY),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
4
|
import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
|
|
5
|
-
import { NotebookExecutionType } from '@codingame/monaco-vscode-
|
|
5
|
+
import { NotebookExecutionType } from '@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
|
|
6
6
|
import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
7
7
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
8
8
|
import { NotebookSetting, CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
@@ -21,7 +21,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super({
|
|
23
23
|
id: OPEN_CELL_FAILURE_ACTIONS_COMMAND_ID,
|
|
24
|
-
title: ( localize2(
|
|
24
|
+
title: ( localize2(7317, "Show Cell Failure Actions")),
|
|
25
25
|
precondition: ( ContextKeyExpr.and(NOTEBOOK_CELL_FOCUSED, NOTEBOOK_CELL_HAS_ERROR_DIAGNOSTICS, ( NOTEBOOK_CELL_EDITOR_FOCUSED.toNegated()))),
|
|
26
26
|
f1: true,
|
|
27
27
|
keybinding: {
|
|
@@ -45,7 +45,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
45
45
|
const editor = findTargetCellEditor(context, context.cell);
|
|
46
46
|
if (editor) {
|
|
47
47
|
const controller = CodeActionController.get(editor);
|
|
48
|
-
controller?.manualTriggerAtCurrentPosition(( localize(
|
|
48
|
+
controller?.manualTriggerAtCurrentPosition(( localize(7318, "No code actions available")), CodeActionTriggerSource.Default, { include: CodeActionKind.QuickFix });
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -55,7 +55,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
55
55
|
constructor() {
|
|
56
56
|
super({
|
|
57
57
|
id: FIX_CELL_ERROR_COMMAND_ID,
|
|
58
|
-
title: ( localize2(
|
|
58
|
+
title: ( localize2(7319, "Fix Cell Error")),
|
|
59
59
|
precondition: ( ContextKeyExpr.and(NOTEBOOK_CELL_FOCUSED, NOTEBOOK_CELL_HAS_ERROR_DIAGNOSTICS, ( NOTEBOOK_CELL_EDITOR_FOCUSED.toNegated()))),
|
|
60
60
|
f1: true
|
|
61
61
|
});
|
|
@@ -87,7 +87,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
87
87
|
constructor() {
|
|
88
88
|
super({
|
|
89
89
|
id: EXPLAIN_CELL_ERROR_COMMAND_ID,
|
|
90
|
-
title: ( localize2(
|
|
90
|
+
title: ( localize2(7320, "Explain Cell Error")),
|
|
91
91
|
precondition: ( ContextKeyExpr.and(NOTEBOOK_CELL_FOCUSED, NOTEBOOK_CELL_HAS_ERROR_DIAGNOSTICS, ( NOTEBOOK_CELL_EDITOR_FOCUSED.toNegated()))),
|
|
92
92
|
f1: true
|
|
93
93
|
});
|
|
@@ -45,7 +45,7 @@ let DiagnosticCellStatusBarItem = class DiagnosticCellStatusBarItem extends Disp
|
|
|
45
45
|
let item;
|
|
46
46
|
if (error?.location && !Iterable.isEmpty(this.chatAgentService.getAgents())) {
|
|
47
47
|
const keybinding = this.keybindingService.lookupKeybinding(OPEN_CELL_FAILURE_ACTIONS_COMMAND_ID)?.getLabel();
|
|
48
|
-
const tooltip = ( localize(
|
|
48
|
+
const tooltip = ( localize(7321, "Quick Actions {0}", `(${keybinding})`));
|
|
49
49
|
item = {
|
|
50
50
|
text: `$(sparkle)`,
|
|
51
51
|
tooltip,
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js
CHANGED
|
@@ -41,7 +41,7 @@ let CellStatusBarLanguagePickerProvider = class CellStatusBarLanguagePickerProvi
|
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
43
43
|
const searchTooltip = ( localize(
|
|
44
|
-
|
|
44
|
+
7329,
|
|
45
45
|
"Unknown cell language. Click to search for '{0}' extensions",
|
|
46
46
|
cell.language
|
|
47
47
|
));
|
|
@@ -57,7 +57,7 @@ let CellStatusBarLanguagePickerProvider = class CellStatusBarLanguagePickerProvi
|
|
|
57
57
|
statusBarItems.push({
|
|
58
58
|
text: displayLanguage,
|
|
59
59
|
command: CHANGE_CELL_LANGUAGE,
|
|
60
|
-
tooltip: ( localize(
|
|
60
|
+
tooltip: ( localize(7330, "Select Cell Language Mode")),
|
|
61
61
|
alignment: CellStatusbarAlignment.Right,
|
|
62
62
|
priority: -Number.MAX_SAFE_INTEGER
|
|
63
63
|
});
|
|
@@ -121,7 +121,7 @@ let CellStatusBarLanguageDetectionProvider = class CellStatusBarLanguageDetectio
|
|
|
121
121
|
const items = [];
|
|
122
122
|
if (cached.guess && currentLanguageId !== cached.guess) {
|
|
123
123
|
const detectedName = this._languageService.getLanguageName(cached.guess) || cached.guess;
|
|
124
|
-
let tooltip = ( localize(
|
|
124
|
+
let tooltip = ( localize(7331, "Accept Detected Language: {0}", detectedName));
|
|
125
125
|
const keybinding = this._keybindingService.lookupKeybinding(DETECT_CELL_LANGUAGE);
|
|
126
126
|
const label = keybinding?.getLabel();
|
|
127
127
|
if (label) {
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js
CHANGED
|
@@ -350,7 +350,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
350
350
|
constructor() {
|
|
351
351
|
super({
|
|
352
352
|
id: COPY_CELL_COMMAND_ID,
|
|
353
|
-
title: ( localize(
|
|
353
|
+
title: ( localize(7333, "Copy Cell")),
|
|
354
354
|
menu: {
|
|
355
355
|
id: MenuId.NotebookCellTitle,
|
|
356
356
|
when: NOTEBOOK_EDITOR_FOCUSED,
|
|
@@ -373,7 +373,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
373
373
|
constructor() {
|
|
374
374
|
super({
|
|
375
375
|
id: CUT_CELL_COMMAND_ID,
|
|
376
|
-
title: ( localize(
|
|
376
|
+
title: ( localize(7334, "Cut Cell")),
|
|
377
377
|
menu: {
|
|
378
378
|
id: MenuId.NotebookCellTitle,
|
|
379
379
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE)),
|
|
@@ -396,7 +396,7 @@ registerAction2(class extends NotebookAction {
|
|
|
396
396
|
constructor() {
|
|
397
397
|
super({
|
|
398
398
|
id: PASTE_CELL_COMMAND_ID,
|
|
399
|
-
title: ( localize(
|
|
399
|
+
title: ( localize(7335, "Paste Cell")),
|
|
400
400
|
menu: {
|
|
401
401
|
id: MenuId.NotebookCellTitle,
|
|
402
402
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE)),
|
|
@@ -428,7 +428,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
428
428
|
constructor() {
|
|
429
429
|
super({
|
|
430
430
|
id: PASTE_CELL_ABOVE_COMMAND_ID,
|
|
431
|
-
title: ( localize(
|
|
431
|
+
title: ( localize(7336, "Paste Cell Above")),
|
|
432
432
|
keybinding: {
|
|
433
433
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey))),
|
|
434
434
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyV,
|
|
@@ -472,7 +472,7 @@ registerAction2(class extends Action2 {
|
|
|
472
472
|
constructor() {
|
|
473
473
|
super({
|
|
474
474
|
id: 'workbench.action.toggleNotebookClipboardLog',
|
|
475
|
-
title: ( localize2(
|
|
475
|
+
title: ( localize2(7337, 'Toggle Notebook Clipboard Troubleshooting')),
|
|
476
476
|
category: Categories.Developer,
|
|
477
477
|
f1: true
|
|
478
478
|
});
|
|
@@ -489,7 +489,7 @@ registerAction2(class extends NotebookCellAction {
|
|
|
489
489
|
constructor() {
|
|
490
490
|
super({
|
|
491
491
|
id: 'notebook.cell.output.selectAll',
|
|
492
|
-
title: ( localize(
|
|
492
|
+
title: ( localize(7338, "Select All")),
|
|
493
493
|
keybinding: {
|
|
494
494
|
primary: KeyMod.CtrlCmd | KeyCode.KeyA,
|
|
495
495
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED)),
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js
CHANGED
|
@@ -11,7 +11,7 @@ import { NotebookOverviewRulerLane } from '@codingame/monaco-vscode-271a23cd-c7d
|
|
|
11
11
|
import { registerNotebookContribution } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
12
12
|
import { runningCellRulerDecorationColor } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget';
|
|
13
13
|
import { CellUri, NotebookCellExecutionState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
14
|
-
import { NotebookExecutionType } from '@codingame/monaco-vscode-
|
|
14
|
+
import { NotebookExecutionType } from '@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
|
|
15
15
|
import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
16
16
|
|
|
17
17
|
let PausedCellDecorationContribution = class PausedCellDecorationContribution extends Disposable {
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js
CHANGED
|
@@ -112,19 +112,19 @@ let KernelStatus = class KernelStatus extends Disposable {
|
|
|
112
112
|
}
|
|
113
113
|
const tooltip = kernel.description ?? kernel.detail ?? kernel.label;
|
|
114
114
|
this._kernelInfoElement.add(this._statusbarService.addEntry({
|
|
115
|
-
name: ( localize(
|
|
115
|
+
name: ( localize(7339, "Notebook Kernel Info")),
|
|
116
116
|
text: `$(notebook-kernel-select) ${kernel.label}`,
|
|
117
117
|
ariaLabel: kernel.label,
|
|
118
|
-
tooltip: isSuggested ? ( localize(
|
|
118
|
+
tooltip: isSuggested ? ( localize(7340, "{0} (suggestion)", tooltip)) : tooltip,
|
|
119
119
|
command: SELECT_KERNEL_ID,
|
|
120
120
|
}, SELECT_KERNEL_ID, StatusbarAlignment.RIGHT, 10));
|
|
121
121
|
this._kernelInfoElement.add(kernel.onDidChange(() => this._showKernelStatus(notebook)));
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
124
|
this._kernelInfoElement.add(this._statusbarService.addEntry({
|
|
125
|
-
name: ( localize(
|
|
126
|
-
text: ( localize(
|
|
127
|
-
ariaLabel: ( localize(
|
|
125
|
+
name: ( localize(7341, "Notebook Kernel Selection")),
|
|
126
|
+
text: ( localize(7342, "Select Kernel")),
|
|
127
|
+
ariaLabel: ( localize(7342, "Select Kernel")),
|
|
128
128
|
command: SELECT_KERNEL_ID,
|
|
129
129
|
kind: 'prominent'
|
|
130
130
|
}, SELECT_KERNEL_ID, StatusbarAlignment.RIGHT, 10));
|
|
@@ -170,7 +170,7 @@ let ActiveCellStatus = class ActiveCellStatus extends Disposable {
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
const entry = {
|
|
173
|
-
name: ( localize(
|
|
173
|
+
name: ( localize(7343, "Notebook Editor Selections")),
|
|
174
174
|
text: newText,
|
|
175
175
|
ariaLabel: newText,
|
|
176
176
|
command: CENTER_ACTIVE_CELL
|
|
@@ -194,8 +194,8 @@ let ActiveCellStatus = class ActiveCellStatus extends Disposable {
|
|
|
194
194
|
const numSelected = editor.getSelections().reduce((prev, range) => prev + (range.end - range.start), 0);
|
|
195
195
|
const totalCells = editor.getLength();
|
|
196
196
|
return numSelected > 1 ?
|
|
197
|
-
( localize(
|
|
198
|
-
( localize(
|
|
197
|
+
( localize(7344, "Cell {0} ({1} selected)", idxFocused, numSelected)) :
|
|
198
|
+
( localize(7345, "Cell {0} of {1}", idxFocused, totalCells));
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
ActiveCellStatus = ( __decorate([
|
|
@@ -255,10 +255,10 @@ let NotebookIndentationStatus = class NotebookIndentationStatus extends Disposab
|
|
|
255
255
|
return;
|
|
256
256
|
}
|
|
257
257
|
const entry = {
|
|
258
|
-
name: ( localize(
|
|
258
|
+
name: ( localize(7346, "Notebook Indentation")),
|
|
259
259
|
text: newText,
|
|
260
260
|
ariaLabel: newText,
|
|
261
|
-
tooltip: ( localize(
|
|
261
|
+
tooltip: ( localize(7347, "Select Indentation")),
|
|
262
262
|
command: SELECT_NOTEBOOK_INDENTATION_ID
|
|
263
263
|
};
|
|
264
264
|
if (!this._accessor.value) {
|
|
@@ -24,7 +24,7 @@ registerAction2(class extends Action2 {
|
|
|
24
24
|
constructor() {
|
|
25
25
|
super({
|
|
26
26
|
id: 'notebook.hideFind',
|
|
27
|
-
title: ( localize2(
|
|
27
|
+
title: ( localize2(7348, 'Hide Find in Notebook')),
|
|
28
28
|
keybinding: {
|
|
29
29
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, KEYBINDING_CONTEXT_NOTEBOOK_FIND_WIDGET_FOCUSED)),
|
|
30
30
|
primary: KeyCode.Escape,
|
|
@@ -47,7 +47,7 @@ registerAction2(class extends NotebookMultiCellAction {
|
|
|
47
47
|
constructor() {
|
|
48
48
|
super({
|
|
49
49
|
id: 'notebook.find',
|
|
50
|
-
title: ( localize2(
|
|
50
|
+
title: ( localize2(7349, 'Find in Notebook')),
|
|
51
51
|
keybinding: {
|
|
52
52
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( ContextKeyExpr.or(NOTEBOOK_IS_ACTIVE_EDITOR, INTERACTIVE_WINDOW_IS_ACTIVE_EDITOR)), ( EditorContextKeys.focus.toNegated()))),
|
|
53
53
|
primary: KeyCode.KeyF | KeyMod.CtrlCmd,
|
|
@@ -33,7 +33,7 @@ registerAction2(class extends Action2 {
|
|
|
33
33
|
constructor() {
|
|
34
34
|
super({
|
|
35
35
|
id: 'notebook.format',
|
|
36
|
-
title: ( localize2(
|
|
36
|
+
title: ( localize2(7370, 'Format Notebook')),
|
|
37
37
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
38
38
|
precondition: ( ContextKeyExpr.and(NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_EDITOR_EDITABLE)),
|
|
39
39
|
keybinding: {
|
|
@@ -84,7 +84,7 @@ registerAction2(class extends Action2 {
|
|
|
84
84
|
}
|
|
85
85
|
return [];
|
|
86
86
|
})));
|
|
87
|
-
await bulkEditService.apply( allCellEdits.flat(), { label: ( localize(
|
|
87
|
+
await bulkEditService.apply( allCellEdits.flat(), { label: ( localize(7371, "Format Notebook")), code: 'undoredo.formatNotebook', });
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
finally {
|
|
@@ -96,7 +96,7 @@ registerEditorAction(class FormatCellAction extends EditorAction {
|
|
|
96
96
|
constructor() {
|
|
97
97
|
super({
|
|
98
98
|
id: 'notebook.formatCell',
|
|
99
|
-
label: ( localize2(
|
|
99
|
+
label: ( localize2(7372, "Format Cell")),
|
|
100
100
|
precondition: ( ContextKeyExpr.and(
|
|
101
101
|
NOTEBOOK_IS_ACTIVE_EDITOR,
|
|
102
102
|
NOTEBOOK_EDITOR_EDITABLE,
|
|
@@ -165,7 +165,7 @@ let FormatOnCellExecutionParticipant = class FormatOnCellExecutionParticipant {
|
|
|
165
165
|
}
|
|
166
166
|
return [];
|
|
167
167
|
})));
|
|
168
|
-
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(
|
|
168
|
+
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(7373, "Format Cells")), code: 'undoredo.notebooks.onWillExecuteFormat', });
|
|
169
169
|
}
|
|
170
170
|
finally {
|
|
171
171
|
disposable.dispose();
|
|
@@ -66,7 +66,7 @@ registerAction2(class NotebookClearNotebookLayoutAction extends Action2 {
|
|
|
66
66
|
constructor() {
|
|
67
67
|
super({
|
|
68
68
|
id: 'workbench.notebook.layout.gettingStarted',
|
|
69
|
-
title: ( localize2(
|
|
69
|
+
title: ( localize2(7374, "Reset notebook getting started")),
|
|
70
70
|
f1: true,
|
|
71
71
|
precondition: ( ContextKeyExpr.equals(`config.${NotebookSetting.openGettingStarted}`, true)),
|
|
72
72
|
category: Categories.Developer,
|
|
@@ -10,7 +10,7 @@ class ToggleCellToolbarPositionAction extends Action2 {
|
|
|
10
10
|
constructor() {
|
|
11
11
|
super({
|
|
12
12
|
id: TOGGLE_CELL_TOOLBAR_POSITION,
|
|
13
|
-
title: ( localize2(
|
|
13
|
+
title: ( localize2(7375, 'Toggle Cell Toolbar Position')),
|
|
14
14
|
menu: [{
|
|
15
15
|
id: MenuId.NotebookCellTitle,
|
|
16
16
|
group: 'View',
|