@codingame/monaco-vscode-notebook-service-override 18.4.0 → 19.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.
Files changed (81) hide show
  1. package/package.json +27 -29
  2. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +7 -7
  3. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +26 -26
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -1
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +8 -8
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +1 -1
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +1 -1
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +1 -1
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +4 -4
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +1 -1
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +16 -16
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +1 -1
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +1 -1
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +1 -1
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +12 -12
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +1 -1
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +5 -5
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +7 -7
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +3 -3
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -2
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +2 -1
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +19 -8
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +20 -20
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +1 -1
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +2 -2
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +3 -3
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.d.ts +6 -1
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +14 -4
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +1 -3
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +10 -12
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +2 -2
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +13 -13
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.d.ts +1 -1
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +14 -14
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +1 -1
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +5 -6
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +3 -3
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +2 -2
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +31 -31
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +18 -15
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +29 -29
  46. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +32 -29
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +1 -1
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +26 -26
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +20 -20
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +8 -8
  51. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +1 -1
  52. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +16 -16
  53. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +4 -4
  54. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +22 -22
  55. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +72 -72
  56. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
  57. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +3 -3
  58. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  59. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts +1 -1
  60. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +4 -4
  61. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
  62. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +1 -1
  63. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +2 -2
  64. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  65. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  66. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.d.ts +1 -1
  67. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +4 -4
  68. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  69. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +2 -2
  70. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +3 -3
  71. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +1 -1
  72. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +1 -1
  73. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +24 -18
  74. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +3 -3
  75. package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +1 -1
  76. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +2 -2
  77. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +14 -14
  78. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.d.ts +1 -1
  79. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +3 -3
  80. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +2 -2
  81. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +2 -2
@@ -13,22 +13,22 @@ import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platfor
13
13
  import { CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_INNER_CURSOR_FIRST, CTX_INLINE_CHAT_INNER_CURSOR_LAST, CTX_INLINE_CHAT_RESPONSE_TYPE, InlineChatResponseType, MENU_INLINE_CHAT_WIDGET_STATUS, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, CTX_INLINE_CHAT_VISIBLE } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
14
14
  import { CTX_NOTEBOOK_CHAT_HAS_ACTIVE_REQUEST, MENU_CELL_CHAT_INPUT, CTX_NOTEBOOK_CELL_CHAT_FOCUSED, MENU_CELL_CHAT_WIDGET, MENU_CELL_CHAT_WIDGET_STATUS, CTX_NOTEBOOK_CHAT_USER_DID_EDIT, CTX_NOTEBOOK_CHAT_OUTER_FOCUS_POSITION, CTX_NOTEBOOK_CHAT_HAS_AGENT } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext';
15
15
  import { NotebookChatController } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController';
16
- import { NotebookAction, NotebookCellAction, getEditorFromArgsOrActivePane, CELL_TITLE_CELL_GROUP_ID, getContextFromActiveEditor } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
16
+ import { NotebookAction, NotebookCellAction, getEditorFromArgsOrActivePane, CELL_TITLE_CELL_GROUP_ID, getContextFromActiveEditor } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
17
17
  import { insertNewCell } from '../insertCellActions.js';
18
- import { CellEditState } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
18
+ import { CellEditState } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
19
19
  import { CellKind, NOTEBOOK_EDITOR_CURSOR_BOUNDARY, NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
20
- import { NOTEBOOK_CELL_EDITOR_FOCUSED, NOTEBOOK_EDITOR_FOCUSED, IS_COMPOSITE_NOTEBOOK, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_GENERATED_BY_CHAT } from '@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
20
+ import { NOTEBOOK_CELL_EDITOR_FOCUSED, NOTEBOOK_EDITOR_FOCUSED, IS_COMPOSITE_NOTEBOOK, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_GENERATED_BY_CHAT } from '@codingame/monaco-vscode-3927dd53-f845-534c-9baa-1528ff3956c8-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
21
21
  import { Iterable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/iterator';
22
22
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
23
23
  import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
24
- import { InlineChatController } from '@codingame/monaco-vscode-6c0f93b9-169c-58c3-a9cb-7d60698eb52c-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
24
+ import { InlineChatController } from '@codingame/monaco-vscode-3927dd53-f845-534c-9baa-1528ff3956c8-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
25
25
  import { EditorAction2 } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
26
26
 
27
27
  registerAction2(class extends NotebookAction {
28
28
  constructor() {
29
29
  super({
30
30
  id: 'notebook.cell.chat.accept',
31
- title: ( localize2(8274, "Make Request")),
31
+ title: ( localize2(8496, "Make Request")),
32
32
  icon: Codicon.send,
33
33
  keybinding: {
34
34
  when: ( ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED, ( NOTEBOOK_CELL_EDITOR_FOCUSED.negate()))),
@@ -52,7 +52,7 @@ registerAction2(class extends NotebookCellAction {
52
52
  constructor() {
53
53
  super({
54
54
  id: 'notebook.cell.chat.arrowOutUp',
55
- title: ( localize(8275, 'Cursor Up')),
55
+ title: ( localize(8497, 'Cursor Up')),
56
56
  keybinding: {
57
57
  when: ( ContextKeyExpr.and(
58
58
  CTX_NOTEBOOK_CELL_CHAT_FOCUSED,
@@ -87,7 +87,7 @@ registerAction2(class extends NotebookAction {
87
87
  constructor() {
88
88
  super({
89
89
  id: 'notebook.cell.chat.arrowOutDown',
90
- title: ( localize(8276, 'Cursor Down')),
90
+ title: ( localize(8498, 'Cursor Down')),
91
91
  keybinding: {
92
92
  when: ( ContextKeyExpr.and(
93
93
  CTX_NOTEBOOK_CELL_CHAT_FOCUSED,
@@ -110,7 +110,7 @@ registerAction2(class extends NotebookCellAction {
110
110
  constructor() {
111
111
  super({
112
112
  id: 'notebook.cell.focusChatWidget',
113
- title: ( localize(8277, 'Focus Chat Widget')),
113
+ title: ( localize(8499, 'Focus Chat Widget')),
114
114
  keybinding: {
115
115
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( CONTEXT_ACCESSIBILITY_MODE_ENABLED.negate()), ( ContextKeyExpr.and(( ContextKeyExpr.has(InputFocusedContextKey)), EditorContextKeys.editorTextFocus, ( NOTEBOOK_EDITOR_CURSOR_BOUNDARY.notEqualsTo('bottom')), ( NOTEBOOK_EDITOR_CURSOR_BOUNDARY.notEqualsTo('none')))), ( EditorContextKeys.isEmbeddedDiffEditor.negate()))),
116
116
  weight: KeybindingWeight.EditorCore + 7,
@@ -128,7 +128,7 @@ registerAction2(class extends NotebookCellAction {
128
128
  constructor() {
129
129
  super({
130
130
  id: 'notebook.cell.focusNextChatWidget',
131
- title: ( localize(8278, 'Focus Next Cell Chat Widget')),
131
+ title: ( localize(8500, 'Focus Next Cell Chat Widget')),
132
132
  keybinding: {
133
133
  when: ( ContextKeyExpr.and(( CONTEXT_ACCESSIBILITY_MODE_ENABLED.negate()), ( ContextKeyExpr.and(( ContextKeyExpr.has(InputFocusedContextKey)), EditorContextKeys.editorTextFocus, ( NOTEBOOK_EDITOR_CURSOR_BOUNDARY.notEqualsTo('top')), ( NOTEBOOK_EDITOR_CURSOR_BOUNDARY.notEqualsTo('none')))), ( EditorContextKeys.isEmbeddedDiffEditor.negate()))),
134
134
  weight: KeybindingWeight.EditorCore + 7,
@@ -147,7 +147,7 @@ registerAction2(class extends NotebookAction {
147
147
  constructor() {
148
148
  super({
149
149
  id: 'notebook.cell.chat.stop',
150
- title: ( localize2(8279, "Stop Request")),
150
+ title: ( localize2(8501, "Stop Request")),
151
151
  icon: Codicon.debugStop,
152
152
  menu: {
153
153
  id: MENU_CELL_CHAT_INPUT,
@@ -166,7 +166,7 @@ registerAction2(class extends NotebookAction {
166
166
  constructor() {
167
167
  super({
168
168
  id: 'notebook.cell.chat.close',
169
- title: ( localize2(8280, "Close Chat")),
169
+ title: ( localize2(8502, "Close Chat")),
170
170
  icon: Codicon.close,
171
171
  menu: {
172
172
  id: MENU_CELL_CHAT_WIDGET,
@@ -184,10 +184,10 @@ registerAction2(class extends NotebookAction {
184
184
  constructor() {
185
185
  super({
186
186
  id: 'notebook.cell.chat.acceptChanges',
187
- title: ( localize2(8281, "Accept Changes")),
188
- shortTitle: ( localize(8282, 'Accept')),
187
+ title: ( localize2(8503, "Accept Changes")),
188
+ shortTitle: ( localize(8504, 'Accept')),
189
189
  icon: Codicon.check,
190
- tooltip: ( localize(8283, 'Accept Changes')),
190
+ tooltip: ( localize(8505, 'Accept Changes')),
191
191
  keybinding: [
192
192
  {
193
193
  when: ( ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED, ( NOTEBOOK_CELL_EDITOR_FOCUSED.negate()))),
@@ -234,7 +234,7 @@ registerAction2(class extends NotebookAction {
234
234
  constructor() {
235
235
  super({
236
236
  id: 'notebook.cell.chat.discard',
237
- title: ( localize(8284, 'Discard')),
237
+ title: ( localize(8506, 'Discard')),
238
238
  icon: Codicon.discard,
239
239
  keybinding: {
240
240
  when: ( ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED, ( CTX_NOTEBOOK_CHAT_USER_DID_EDIT.negate()), ( NOTEBOOK_CELL_EDITOR_FOCUSED.negate()))),
@@ -275,12 +275,12 @@ registerAction2(class extends NotebookAction {
275
275
  super({
276
276
  id: 'notebook.cell.chat.start',
277
277
  title: {
278
- value: '$(sparkle) ' + ( localize(8285, "Generate")),
278
+ value: '$(sparkle) ' + ( localize(8507, "Generate")),
279
279
  original: '$(sparkle) Generate',
280
280
  },
281
- tooltip: ( localize(8286, "Start Chat to Generate Code")),
281
+ tooltip: ( localize(8508, "Start Chat to Generate Code")),
282
282
  metadata: {
283
- description: ( localize(8286, "Start Chat to Generate Code")),
283
+ description: ( localize(8508, "Start Chat to Generate Code")),
284
284
  args: [
285
285
  {
286
286
  name: 'args',
@@ -362,10 +362,10 @@ registerAction2(class extends NotebookAction {
362
362
  super({
363
363
  id: 'notebook.cell.chat.startAtTop',
364
364
  title: {
365
- value: '$(sparkle) ' + ( localize(8285, "Generate")),
365
+ value: '$(sparkle) ' + ( localize(8507, "Generate")),
366
366
  original: '$(sparkle) Generate',
367
367
  },
368
- tooltip: ( localize(8286, "Start Chat to Generate Code")),
368
+ tooltip: ( localize(8508, "Start Chat to Generate Code")),
369
369
  f1: false,
370
370
  menu: [
371
371
  {
@@ -385,8 +385,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
385
385
  command: {
386
386
  id: 'notebook.cell.chat.start',
387
387
  icon: Codicon.sparkle,
388
- title: ( localize(8287, "Generate")),
389
- tooltip: ( localize(8288, "Start Chat to Generate Code"))
388
+ title: ( localize(8509, "Generate")),
389
+ tooltip: ( localize(8510, "Start Chat to Generate Code"))
390
390
  },
391
391
  order: -10,
392
392
  group: 'navigation/add',
@@ -396,7 +396,7 @@ registerAction2(class extends NotebookAction {
396
396
  constructor() {
397
397
  super({
398
398
  id: 'notebook.cell.chat.focus',
399
- title: ( localize(8289, 'Focus Chat')),
399
+ title: ( localize(8511, 'Focus Chat')),
400
400
  keybinding: [
401
401
  {
402
402
  when: ( ContextKeyExpr.and(
@@ -428,7 +428,7 @@ registerAction2(class extends NotebookAction {
428
428
  constructor() {
429
429
  super({
430
430
  id: 'notebook.cell.chat.focusNextCell',
431
- title: ( localize(8290, 'Focus Next Cell')),
431
+ title: ( localize(8512, 'Focus Next Cell')),
432
432
  keybinding: [
433
433
  {
434
434
  when: ( ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED)),
@@ -447,7 +447,7 @@ registerAction2(class extends NotebookAction {
447
447
  constructor() {
448
448
  super({
449
449
  id: 'notebook.cell.chat.focusPreviousCell',
450
- title: ( localize(8291, 'Focus Previous Cell')),
450
+ title: ( localize(8513, 'Focus Previous Cell')),
451
451
  keybinding: [
452
452
  {
453
453
  when: ( ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED)),
@@ -466,7 +466,7 @@ registerAction2(class extends NotebookAction {
466
466
  constructor() {
467
467
  super({
468
468
  id: 'notebook.cell.chat.previousFromHistory',
469
- title: ( localize2(8292, "Previous From History")),
469
+ title: ( localize2(8514, "Previous From History")),
470
470
  precondition: ( ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED)),
471
471
  keybinding: {
472
472
  when: ( ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED)),
@@ -484,7 +484,7 @@ registerAction2(class extends NotebookAction {
484
484
  constructor() {
485
485
  super({
486
486
  id: 'notebook.cell.chat.nextFromHistory',
487
- title: ( localize2(8293, "Next From History")),
487
+ title: ( localize2(8515, "Next From History")),
488
488
  precondition: ( ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED)),
489
489
  keybinding: {
490
490
  when: ( ContextKeyExpr.and(CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_INLINE_CHAT_FOCUSED)),
@@ -502,7 +502,7 @@ registerAction2(class extends NotebookCellAction {
502
502
  constructor() {
503
503
  super({
504
504
  id: 'notebook.cell.chat.restore',
505
- title: ( localize2(8294, "Generate")),
505
+ title: ( localize2(8516, "Generate")),
506
506
  icon: Codicon.sparkle,
507
507
  menu: {
508
508
  id: MenuId.NotebookCellTitle,
@@ -533,9 +533,9 @@ class AcceptChangesAndRun extends EditorAction2 {
533
533
  constructor() {
534
534
  super({
535
535
  id: 'notebook.inlineChat.acceptChangesAndRun',
536
- title: ( localize2(8295, "Accept and Run")),
537
- shortTitle: ( localize(8296, 'Accept & Run')),
538
- tooltip: ( localize(8297, 'Accept the changes and run the cell')),
536
+ title: ( localize2(8517, "Accept and Run")),
537
+ shortTitle: ( localize(8518, 'Accept & Run')),
538
+ tooltip: ( localize(8519, 'Accept the changes and run the cell')),
539
539
  icon: Codicon.check,
540
540
  f1: true,
541
541
  precondition: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), CTX_INLINE_CHAT_VISIBLE)),
@@ -3,6 +3,7 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
3
3
  import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
4
4
  import { codiconsLibrary } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codiconsLibrary';
5
5
  import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
6
+ import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
6
7
  import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
7
8
  import { CompletionItemKind } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
8
9
  import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service';
@@ -13,25 +14,24 @@ import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platf
13
14
  import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
14
15
  import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
15
16
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
16
- import { showChatView } from '@codingame/monaco-vscode-7adbeffb-8051-54a9-8c9b-b62ce9e5836f-common/vscode/vs/workbench/contrib/chat/browser/chat';
17
+ import { showChatView } from '@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common/vscode/vs/workbench/contrib/chat/browser/chat';
17
18
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
18
- import { ChatInputPart } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatInputPart';
19
19
  import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables';
20
20
  import { computeCompletionRanges } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions';
21
21
  import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
22
22
  import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
23
23
  import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
24
- import { chatVariableLeader } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
25
- import { NOTEBOOK_CELL_OUTPUT_MIME_TYPE_LIST_FOR_CHAT, NOTEBOOK_CELL_HAS_OUTPUTS, NOTEBOOK_CELL_OUTPUT_MIMETYPE } from '@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
24
+ import { chatVariableLeader } from '@codingame/monaco-vscode-9ebd6daf-8734-5a28-ad24-b238f5e5819d-common/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
25
+ import { NOTEBOOK_CELL_OUTPUT_MIME_TYPE_LIST_FOR_CHAT, NOTEBOOK_CELL_HAS_OUTPUTS, NOTEBOOK_CELL_OUTPUT_MIMETYPE } from '@codingame/monaco-vscode-3927dd53-f845-534c-9baa-1528ff3956c8-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
26
26
  import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
27
- import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
28
- import { copyIcon } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
29
- import { getOutputViewModelFromId } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOutputActions';
30
- import { NOTEBOOK_ACTIONS_CATEGORY } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
27
+ import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
28
+ import { copyIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
29
+ import { getOutputViewModelFromId } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOutputActions';
30
+ import { NOTEBOOK_ACTIONS_CATEGORY } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
31
31
  import './cellChatActions.js';
32
32
  import { CTX_NOTEBOOK_CHAT_HAS_AGENT } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext';
33
33
  import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
34
- import { NOTEBOOK_CELL_OUTPUT_MIME_TYPE_LIST_FOR_CHAT_CONST, createNotebookOutputVariableEntry } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils';
34
+ import { NOTEBOOK_CELL_OUTPUT_MIME_TYPE_LIST_FOR_CHAT_CONST, createNotebookOutputVariableEntry } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils';
35
35
  import { IChatContextPickService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContextPickService.service';
36
36
  import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
37
37
 
@@ -52,7 +52,7 @@ let NotebookChatContribution = class NotebookChatContribution extends Disposable
52
52
  };
53
53
  updateNotebookAgentStatus();
54
54
  this._register(chatAgentService.onDidChangeAgents(updateNotebookAgentStatus));
55
- this._register(this.languageFeaturesService.completionProvider.register({ scheme: ChatInputPart.INPUT_SCHEME, hasAccessToAllModels: true }, {
55
+ this._register(this.languageFeaturesService.completionProvider.register({ scheme: Schemas.vscodeChatInput, hasAccessToAllModels: true }, {
56
56
  _debugDisplayName: 'chatKernelDynamicCompletions',
57
57
  triggerCharacters: [chatVariableLeader],
58
58
  provideCompletionItems: async (model, position, _context, token) => {
@@ -78,7 +78,7 @@ let NotebookChatContribution = class NotebookChatContribution extends Disposable
78
78
  result.suggestions.push({
79
79
  label: `${chatVariableLeader}${NotebookKernelVariableKey}`,
80
80
  insertText: `${chatVariableLeader}${NotebookKernelVariableKey}:`,
81
- detail: ( localize(8298, "Pick a variable from the kernel")),
81
+ detail: ( localize(8520, "Pick a variable from the kernel")),
82
82
  range,
83
83
  kind: CompletionItemKind.Text,
84
84
  command: { id: SelectAndInsertKernelVariableAction.ID, title: SelectAndInsertKernelVariableAction.ID, arguments: [{ widget, range: afterRange }] },
@@ -173,7 +173,10 @@ class SelectAndInsertKernelVariableAction extends Action2 {
173
173
  detail: variable.type,
174
174
  });
175
175
  }
176
- const pickedVariable = await quickInputService.pick(quickPickItems, { placeHolder: ( localize(8299, "Select a kernel variable")) });
176
+ const placeHolder = quickPickItems.length > 0
177
+ ? ( localize(8521, "Select a kernel variable"))
178
+ : ( localize(8522, "No kernel variables found"));
179
+ const pickedVariable = await quickInputService.pick(quickPickItems, { placeHolder });
177
180
  if (!pickedVariable) {
178
181
  return;
179
182
  }
@@ -213,7 +216,7 @@ let KernelVariableContextPicker = class KernelVariableContextPicker {
213
216
  this.editorService = editorService;
214
217
  this.notebookKernelService = notebookKernelService;
215
218
  this.type = 'pickerPick';
216
- this.label = ( localize(8300, 'Kernel Variable...'));
219
+ this.label = ( localize(8523, 'Kernel Variable...'));
217
220
  this.icon = Codicon.serverEnvironment;
218
221
  }
219
222
  isEnabled(widget) {
@@ -250,7 +253,7 @@ let KernelVariableContextPicker = class KernelVariableContextPicker {
250
253
  return result;
251
254
  })();
252
255
  return {
253
- placeholder: ( localize(8301, 'Select a kernel variable')),
256
+ placeholder: ( localize(8524, 'Select a kernel variable')),
254
257
  picks
255
258
  };
256
259
  }
@@ -263,7 +266,7 @@ registerAction2(class CopyCellOutputAction extends Action2 {
263
266
  constructor() {
264
267
  super({
265
268
  id: 'notebook.cellOutput.addToChat',
266
- title: ( localize(8302, "Add Cell Output to Chat")),
269
+ title: ( localize(8525, "Add Cell Output to Chat")),
267
270
  menu: {
268
271
  id: MenuId.NotebookOutputToolbar,
269
272
  when: ( ContextKeyExpr.and(
@@ -21,15 +21,15 @@ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
21
21
  import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
22
22
  import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
23
23
  import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
24
- import { InlineChatController } from '@codingame/monaco-vscode-6c0f93b9-169c-58c3-a9cb-7d60698eb52c-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
24
+ import { InlineChatController } from '@codingame/monaco-vscode-3927dd53-f845-534c-9baa-1528ff3956c8-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
25
25
  import { CTX_INLINE_CHAT_FOCUSED } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
26
26
  import { runDeleteAction, changeCellToKind } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOperations';
27
- import { NotebookCellAction, CELL_TITLE_CELL_GROUP_ID, CellToolbarOrder, findTargetCellEditor, NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT, CELL_TITLE_OUTPUT_GROUP_ID, executeNotebookCondition, NotebookAction, NotebookMultiCellAction } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
27
+ import { NotebookCellAction, CELL_TITLE_CELL_GROUP_ID, CellToolbarOrder, findTargetCellEditor, NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT, CELL_TITLE_OUTPUT_GROUP_ID, executeNotebookCondition, NotebookAction, NotebookMultiCellAction } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
28
28
  import { NotebookIndentUsingTabs, NotebookIndentUsingSpaces, NotebookChangeTabDisplaySize, NotebookIndentationToTabsAction, NotebookIndentationToSpacesAction } from './notebookIndentationActions.js';
29
- import { QUIT_EDIT_CELL_COMMAND_ID, CellEditState, CHANGE_CELL_LANGUAGE, DETECT_CELL_LANGUAGE, getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
30
- import { editIcon, stopEditIcon, deleteCellIcon, clearIcon } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
29
+ import { QUIT_EDIT_CELL_COMMAND_ID, CellEditState, CHANGE_CELL_LANGUAGE, DETECT_CELL_LANGUAGE, getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
30
+ import { editIcon, stopEditIcon, deleteCellIcon, clearIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
31
31
  import { CellKind, NotebookCellExecutionState, NotebookSetting, CellEditType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
32
- import { NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_TYPE, NOTEBOOK_CELL_MARKDOWN_EDIT_MODE, NOTEBOOK_CELL_EDITABLE, NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_OUTPUT_INPUT_FOCUSED, NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED, NOTEBOOK_CELL_HAS_OUTPUTS, NOTEBOOK_USE_CONSOLIDATED_OUTPUT_BUTTON, NOTEBOOK_CELL_IS_FIRST_OUTPUT, NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_HAS_OUTPUTS } from '@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
32
+ import { NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_TYPE, NOTEBOOK_CELL_MARKDOWN_EDIT_MODE, NOTEBOOK_CELL_EDITABLE, NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_OUTPUT_INPUT_FOCUSED, NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED, NOTEBOOK_CELL_HAS_OUTPUTS, NOTEBOOK_USE_CONSOLIDATED_OUTPUT_BUTTON, NOTEBOOK_CELL_IS_FIRST_OUTPUT, NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_HAS_OUTPUTS } from '@codingame/monaco-vscode-3927dd53-f845-534c-9baa-1528ff3956c8-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
33
33
  import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
34
34
  import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
35
35
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
@@ -46,7 +46,7 @@ registerAction2(class EditCellAction extends NotebookCellAction {
46
46
  constructor() {
47
47
  super({
48
48
  id: EDIT_CELL_COMMAND_ID,
49
- title: ( localize(8314, "Edit Cell")),
49
+ title: ( localize(8537, "Edit Cell")),
50
50
  keybinding: {
51
51
  when: ( ContextKeyExpr.and(
52
52
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -82,7 +82,7 @@ registerAction2(class QuitEditCellAction extends NotebookCellAction {
82
82
  constructor() {
83
83
  super({
84
84
  id: QUIT_EDIT_CELL_COMMAND_ID,
85
- title: ( localize(8315, "Stop Editing Cell")),
85
+ title: ( localize(8538, "Stop Editing Cell")),
86
86
  menu: {
87
87
  id: MenuId.NotebookCellTitle,
88
88
  when: ( ContextKeyExpr.and(( NOTEBOOK_CELL_TYPE.isEqualTo('markup')), NOTEBOOK_CELL_MARKDOWN_EDIT_MODE, NOTEBOOK_CELL_EDITABLE)),
@@ -123,7 +123,7 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
123
123
  constructor() {
124
124
  super({
125
125
  id: DELETE_CELL_COMMAND_ID,
126
- title: ( localize(8316, "Delete Cell")),
126
+ title: ( localize(8539, "Delete Cell")),
127
127
  keybinding: {
128
128
  primary: KeyCode.Delete,
129
129
  mac: {
@@ -160,13 +160,13 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
160
160
  const configService = accessor.get(IConfigurationService);
161
161
  if (runState === NotebookCellExecutionState.Executing && configService.getValue(NotebookSetting.confirmDeleteRunningCell)) {
162
162
  const dialogService = accessor.get(IDialogService);
163
- const primaryButton = ( localize(8317, "Delete"));
163
+ const primaryButton = ( localize(8540, "Delete"));
164
164
  confirmation = await dialogService.confirm({
165
165
  type: 'question',
166
- message: ( localize(8318, "This cell is running, are you sure you want to delete it?")),
166
+ message: ( localize(8541, "This cell is running, are you sure you want to delete it?")),
167
167
  primaryButton: primaryButton,
168
168
  checkbox: {
169
- label: ( localize(8319, "Do not ask me again"))
169
+ label: ( localize(8542, "Do not ask me again"))
170
170
  }
171
171
  });
172
172
  }
@@ -186,7 +186,7 @@ registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
186
186
  constructor() {
187
187
  super({
188
188
  id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
189
- title: ( localize(8320, 'Clear Cell Outputs')),
189
+ title: ( localize(8543, 'Clear Cell Outputs')),
190
190
  menu: [
191
191
  {
192
192
  id: MenuId.NotebookCellTitle,
@@ -250,7 +250,7 @@ registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
250
250
  constructor() {
251
251
  super({
252
252
  id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
253
- title: ( localize(8321, 'Clear All Outputs')),
253
+ title: ( localize(8544, 'Clear All Outputs')),
254
254
  precondition: NOTEBOOK_HAS_OUTPUTS,
255
255
  menu: [
256
256
  {
@@ -307,14 +307,14 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
307
307
  constructor() {
308
308
  super({
309
309
  id: CHANGE_CELL_LANGUAGE,
310
- title: ( localize(8322, 'Change Cell Language')),
310
+ title: ( localize(8545, 'Change Cell Language')),
311
311
  keybinding: {
312
312
  weight: KeybindingWeight.WorkbenchContrib,
313
313
  primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyM),
314
314
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE))
315
315
  },
316
316
  metadata: {
317
- description: ( localize(8322, 'Change Cell Language')),
317
+ description: ( localize(8545, 'Change Cell Language')),
318
318
  args: [
319
319
  {
320
320
  name: 'range',
@@ -387,10 +387,10 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
387
387
  providerLanguages.forEach(languageId => {
388
388
  let description;
389
389
  if (context.cell.cellKind === CellKind.Markup ? (languageId === 'markdown') : (languageId === context.cell.language)) {
390
- description = ( localize(8323, "({0}) - Current Language", languageId));
390
+ description = ( localize(8546, "({0}) - Current Language", languageId));
391
391
  }
392
392
  else {
393
- description = ( localize(8324, "({0})", languageId));
393
+ description = ( localize(8547, "({0})", languageId));
394
394
  }
395
395
  const languageName = languageService.getLanguageName(languageId);
396
396
  if (!languageName) {
@@ -413,16 +413,16 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
413
413
  return a.description.localeCompare(b.description);
414
414
  });
415
415
  const autoDetectMode = {
416
- label: ( localize(8325, "Auto Detect"))
416
+ label: ( localize(8548, "Auto Detect"))
417
417
  };
418
418
  const picks = [
419
419
  autoDetectMode,
420
- { type: 'separator', label: ( localize(8326, "languages (identifier)")) },
420
+ { type: 'separator', label: ( localize(8549, "languages (identifier)")) },
421
421
  ...topItems,
422
422
  { type: 'separator' },
423
423
  ...mainItems
424
424
  ];
425
- const selection = await quickInputService.pick(picks, { placeHolder: ( localize(8327, "Select Language Mode")) });
425
+ const selection = await quickInputService.pick(picks, { placeHolder: ( localize(8550, "Select Language Mode")) });
426
426
  const languageId = selection === autoDetectMode
427
427
  ? await languageDetectionService.detectLanguage(context.cell.uri)
428
428
  : selection?.languageId;
@@ -455,7 +455,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
455
455
  constructor() {
456
456
  super({
457
457
  id: DETECT_CELL_LANGUAGE,
458
- title: ( localize2(8328, "Accept Detected Language for Cell")),
458
+ title: ( localize2(8551, "Accept Detected Language for Cell")),
459
459
  f1: true,
460
460
  precondition: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE)),
461
461
  keybinding: { primary: KeyCode.KeyD | KeyMod.Alt | KeyMod.Shift, weight: KeybindingWeight.WorkbenchContrib }
@@ -473,7 +473,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
473
473
  setCellToLanguage(detection, context);
474
474
  }
475
475
  else {
476
- notificationService.warn(( localize(8329, "Unable to detect cell language")));
476
+ notificationService.warn(( localize(8552, "Unable to detect cell language")));
477
477
  }
478
478
  }
479
479
  });
@@ -498,7 +498,7 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
498
498
  constructor() {
499
499
  super({
500
500
  id: SELECT_NOTEBOOK_INDENTATION_ID,
501
- title: ( localize2(8330, 'Select Indentation')),
501
+ title: ( localize2(8553, 'Select Indentation')),
502
502
  f1: true,
503
503
  precondition: ( ContextKeyExpr.and(
504
504
  NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -516,10 +516,10 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
516
516
  const instantiationService = accessor.get(IInstantiationService);
517
517
  const activeNotebook = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
518
518
  if (!activeNotebook || activeNotebook.isDisposed) {
519
- return quickInputService.pick([{ label: ( localize(8331, "No notebook editor active at this time")) }]);
519
+ return quickInputService.pick([{ label: ( localize(8554, "No notebook editor active at this time")) }]);
520
520
  }
521
521
  if (activeNotebook.isReadOnly) {
522
- return quickInputService.pick([{ label: ( localize(8332, "The active notebook editor is read-only.")) }]);
522
+ return quickInputService.pick([{ label: ( localize(8555, "The active notebook editor is read-only.")) }]);
523
523
  }
524
524
  const picks = ( [
525
525
  (
@@ -541,9 +541,9 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
541
541
  }
542
542
  };
543
543
  }));
544
- picks.splice(3, 0, { type: 'separator', label: ( localize(8333, "convert file")) });
545
- picks.unshift({ type: 'separator', label: ( localize(8334, "change view")) });
546
- const action = await quickInputService.pick(picks, { placeHolder: ( localize(8335, "Select Action")), matchOnDetail: true });
544
+ picks.splice(3, 0, { type: 'separator', label: ( localize(8556, "convert file")) });
545
+ picks.unshift({ type: 'separator', label: ( localize(8557, "change view")) });
546
+ const action = await quickInputService.pick(picks, { placeHolder: ( localize(8558, "Select Action")), matchOnDetail: true });
547
547
  if (!action) {
548
548
  return;
549
549
  }
@@ -556,7 +556,7 @@ registerAction2(class CommentSelectedCellsAction extends NotebookMultiCellAction
556
556
  constructor() {
557
557
  super({
558
558
  id: COMMENT_SELECTED_CELLS_ID,
559
- title: ( localize(8336, "Comment Selected Cells")),
559
+ title: ( localize(8559, "Comment Selected Cells")),
560
560
  keybinding: {
561
561
  when: ( ContextKeyExpr.and(
562
562
  NOTEBOOK_EDITOR_FOCUSED,