@codingame/monaco-vscode-notebook-service-override 21.6.0 → 22.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 (49) hide show
  1. package/package.json +23 -24
  2. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.css +5 -1
  3. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.d.ts +2 -2
  4. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +24 -24
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +21 -21
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +4 -4
  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/statusBarProviders.js +3 -3
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +6 -6
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +10 -10
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +2 -2
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +2 -2
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +5 -5
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -3
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +1 -1
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +9 -9
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +12 -12
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +27 -27
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +12 -12
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +25 -25
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +17 -17
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +21 -21
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +69 -69
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +37 -37
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts +1 -1
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +4 -4
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +4 -4
  46. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +2 -2
  48. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  49. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
@@ -28,7 +28,7 @@ registerAction2(class extends NotebookAction {
28
28
  constructor() {
29
29
  super({
30
30
  id: 'notebook.cell.chat.accept',
31
- title: ( localize2(8823, "Make Request")),
31
+ title: ( localize2(8913, "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(8824, 'Cursor Up')),
55
+ title: ( localize(8914, '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(8825, 'Cursor Down')),
90
+ title: ( localize(8915, '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(8826, 'Focus Chat Widget')),
113
+ title: ( localize(8916, '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(8827, 'Focus Next Cell Chat Widget')),
131
+ title: ( localize(8917, '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(8828, "Stop Request")),
150
+ title: ( localize2(8918, "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(8829, "Close Chat")),
169
+ title: ( localize2(8919, "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(8830, "Accept Changes")),
188
- shortTitle: ( localize(8831, 'Accept')),
187
+ title: ( localize2(8920, "Accept Changes")),
188
+ shortTitle: ( localize(8921, 'Accept')),
189
189
  icon: Codicon.check,
190
- tooltip: ( localize(8832, 'Accept Changes')),
190
+ tooltip: ( localize(8922, '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(8833, 'Discard')),
237
+ title: ( localize(8923, '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(8834, "Generate")),
278
+ value: '$(sparkle) ' + ( localize(8924, "Generate")),
279
279
  original: '$(sparkle) Generate',
280
280
  },
281
- tooltip: ( localize(8835, "Start Chat to Generate Code")),
281
+ tooltip: ( localize(8925, "Start Chat to Generate Code")),
282
282
  metadata: {
283
- description: ( localize(8835, "Start Chat to Generate Code")),
283
+ description: ( localize(8925, "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(8834, "Generate")),
365
+ value: '$(sparkle) ' + ( localize(8924, "Generate")),
366
366
  original: '$(sparkle) Generate',
367
367
  },
368
- tooltip: ( localize(8835, "Start Chat to Generate Code")),
368
+ tooltip: ( localize(8925, "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(8836, "Generate")),
389
- tooltip: ( localize(8837, "Start Chat to Generate Code"))
388
+ title: ( localize(8926, "Generate")),
389
+ tooltip: ( localize(8927, "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(8838, 'Focus Chat')),
399
+ title: ( localize(8928, '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(8839, 'Focus Next Cell')),
431
+ title: ( localize(8929, '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(8840, 'Focus Previous Cell')),
450
+ title: ( localize(8930, '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(8841, "Previous From History")),
469
+ title: ( localize2(8931, "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(8842, "Next From History")),
487
+ title: ( localize2(8932, "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(8843, "Generate")),
505
+ title: ( localize2(8933, "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(8844, "Accept and Run")),
537
- shortTitle: ( localize(8845, 'Accept & Run')),
538
- tooltip: ( localize(8846, 'Accept the changes and run the cell')),
536
+ title: ( localize2(8934, "Accept and Run")),
537
+ shortTitle: ( localize(8935, 'Accept & Run')),
538
+ tooltip: ( localize(8936, '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)),
@@ -1,6 +1,7 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
4
+ import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
4
5
  import { codiconsLibrary } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codiconsLibrary';
5
6
  import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
6
7
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
@@ -14,26 +15,25 @@ import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platf
14
15
  import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
15
16
  import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
16
17
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
18
+ import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
17
19
  import { showChatView } from '@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common/vscode/vs/workbench/contrib/chat/browser/chat';
18
20
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
21
+ import { IChatContextPickService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContextPickService.service';
19
22
  import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables';
20
23
  import { computeCompletionRanges } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions';
21
24
  import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
22
- import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
23
25
  import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
24
26
  import { chatVariableLeader } from '@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
27
+ import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
25
28
  import { NOTEBOOK_CELL_OUTPUT_MIME_TYPE_LIST_FOR_CHAT, NOTEBOOK_CELL_HAS_OUTPUTS, NOTEBOOK_CELL_OUTPUT_MIMETYPE } from '@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
26
29
  import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
30
+ 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';
27
31
  import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
28
32
  import { copyIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
29
33
  import { getOutputViewModelFromId } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOutputActions';
30
34
  import { NOTEBOOK_ACTIONS_CATEGORY } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
31
35
  import './cellChatActions.js';
32
36
  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
- 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-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils';
35
- import { IChatContextPickService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContextPickService.service';
36
- import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
37
37
 
38
38
  const NotebookKernelVariableKey = 'kernelVariable';
39
39
  let NotebookChatContribution = class NotebookChatContribution extends Disposable {
@@ -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(8847, "Pick a variable from the kernel")),
81
+ detail: ( localize(8937, "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 }] },
@@ -174,8 +174,8 @@ class SelectAndInsertKernelVariableAction extends Action2 {
174
174
  });
175
175
  }
176
176
  const placeHolder = quickPickItems.length > 0
177
- ? ( localize(8848, "Select a kernel variable"))
178
- : ( localize(8849, "No kernel variables found"));
177
+ ? ( localize(8938, "Select a kernel variable"))
178
+ : ( localize(8939, "No kernel variables found"));
179
179
  const pickedVariable = await quickInputService.pick(quickPickItems, { placeHolder });
180
180
  if (!pickedVariable) {
181
181
  return;
@@ -216,7 +216,7 @@ let KernelVariableContextPicker = class KernelVariableContextPicker {
216
216
  this.editorService = editorService;
217
217
  this.notebookKernelService = notebookKernelService;
218
218
  this.type = 'pickerPick';
219
- this.label = ( localize(8850, 'Kernel Variable...'));
219
+ this.label = ( localize(8940, 'Kernel Variable...'));
220
220
  this.icon = Codicon.serverEnvironment;
221
221
  }
222
222
  isEnabled(widget) {
@@ -253,7 +253,7 @@ let KernelVariableContextPicker = class KernelVariableContextPicker {
253
253
  return result;
254
254
  })();
255
255
  return {
256
- placeholder: ( localize(8851, 'Select a kernel variable')),
256
+ placeholder: ( localize(8941, 'Select a kernel variable')),
257
257
  picks
258
258
  };
259
259
  }
@@ -266,7 +266,7 @@ registerAction2(class CopyCellOutputAction extends Action2 {
266
266
  constructor() {
267
267
  super({
268
268
  id: 'notebook.cellOutput.addToChat',
269
- title: ( localize(8852, "Add Cell Output to Chat")),
269
+ title: ( localize(8942, "Add Cell Output to Chat")),
270
270
  menu: {
271
271
  id: MenuId.NotebookOutputToolbar,
272
272
  when: ( ContextKeyExpr.and(
@@ -321,7 +321,7 @@ registerAction2(class CopyCellOutputAction extends Action2 {
321
321
  const chatWidgetService = accessor.get(IChatWidgetService);
322
322
  let widget = chatWidgetService.lastFocusedWidget;
323
323
  if (!widget) {
324
- const widgets = chatWidgetService.getWidgetsByLocations(ChatAgentLocation.Panel);
324
+ const widgets = chatWidgetService.getWidgetsByLocations(ChatAgentLocation.Chat);
325
325
  if (widgets.length === 0) {
326
326
  return;
327
327
  }
@@ -47,7 +47,7 @@ registerAction2(class EditCellAction extends NotebookCellAction {
47
47
  constructor() {
48
48
  super({
49
49
  id: EDIT_CELL_COMMAND_ID,
50
- title: ( localize(8864, "Edit Cell")),
50
+ title: ( localize(8954, "Edit Cell")),
51
51
  keybinding: {
52
52
  when: ( ContextKeyExpr.and(
53
53
  NOTEBOOK_CELL_LIST_FOCUSED,
@@ -83,7 +83,7 @@ registerAction2(class QuitEditCellAction extends NotebookCellAction {
83
83
  constructor() {
84
84
  super({
85
85
  id: QUIT_EDIT_CELL_COMMAND_ID,
86
- title: ( localize(8865, "Stop Editing Cell")),
86
+ title: ( localize(8955, "Stop Editing Cell")),
87
87
  menu: {
88
88
  id: MenuId.NotebookCellTitle,
89
89
  when: ( ContextKeyExpr.and(( NOTEBOOK_CELL_TYPE.isEqualTo('markup')), NOTEBOOK_CELL_MARKDOWN_EDIT_MODE, NOTEBOOK_CELL_EDITABLE)),
@@ -124,7 +124,7 @@ registerAction2(class QuitEditAllCellsAction extends NotebookAction {
124
124
  constructor() {
125
125
  super({
126
126
  id: QUIT_EDIT_ALL_CELLS_COMMAND_ID,
127
- title: ( localize(8866, "Stop Editing All Cells"))
127
+ title: ( localize(8956, "Stop Editing All Cells"))
128
128
  });
129
129
  }
130
130
  async runWithContext(accessor, context) {
@@ -149,7 +149,7 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
149
149
  constructor() {
150
150
  super({
151
151
  id: DELETE_CELL_COMMAND_ID,
152
- title: ( localize(8867, "Delete Cell")),
152
+ title: ( localize(8957, "Delete Cell")),
153
153
  keybinding: {
154
154
  primary: KeyCode.Delete,
155
155
  mac: {
@@ -186,13 +186,13 @@ registerAction2(class DeleteCellAction extends NotebookCellAction {
186
186
  const configService = accessor.get(IConfigurationService);
187
187
  if (runState === NotebookCellExecutionState.Executing && configService.getValue(NotebookSetting.confirmDeleteRunningCell)) {
188
188
  const dialogService = accessor.get(IDialogService);
189
- const primaryButton = ( localize(8868, "Delete"));
189
+ const primaryButton = ( localize(8958, "Delete"));
190
190
  confirmation = await dialogService.confirm({
191
191
  type: 'question',
192
- message: ( localize(8869, "This cell is running, are you sure you want to delete it?")),
192
+ message: ( localize(8959, "This cell is running, are you sure you want to delete it?")),
193
193
  primaryButton: primaryButton,
194
194
  checkbox: {
195
- label: ( localize(8870, "Do not ask me again"))
195
+ label: ( localize(8960, "Do not ask me again"))
196
196
  }
197
197
  });
198
198
  }
@@ -212,7 +212,7 @@ registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
212
212
  constructor() {
213
213
  super({
214
214
  id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
215
- title: ( localize(8871, 'Clear Cell Outputs')),
215
+ title: ( localize(8961, 'Clear Cell Outputs')),
216
216
  menu: [
217
217
  {
218
218
  id: MenuId.NotebookCellTitle,
@@ -276,7 +276,7 @@ registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
276
276
  constructor() {
277
277
  super({
278
278
  id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
279
- title: ( localize(8872, 'Clear All Outputs')),
279
+ title: ( localize(8962, 'Clear All Outputs')),
280
280
  precondition: NOTEBOOK_HAS_OUTPUTS,
281
281
  menu: [
282
282
  {
@@ -333,14 +333,14 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
333
333
  constructor() {
334
334
  super({
335
335
  id: CHANGE_CELL_LANGUAGE,
336
- title: ( localize(8873, 'Change Cell Language')),
336
+ title: ( localize(8963, 'Change Cell Language')),
337
337
  keybinding: {
338
338
  weight: KeybindingWeight.WorkbenchContrib,
339
339
  primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyCode.KeyM),
340
340
  when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE))
341
341
  },
342
342
  metadata: {
343
- description: ( localize(8873, 'Change Cell Language')),
343
+ description: ( localize(8963, 'Change Cell Language')),
344
344
  args: [
345
345
  {
346
346
  name: 'range',
@@ -413,10 +413,10 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
413
413
  providerLanguages.forEach(languageId => {
414
414
  let description;
415
415
  if (context.cell.cellKind === CellKind.Markup ? (languageId === 'markdown') : (languageId === context.cell.language)) {
416
- description = ( localize(8874, "({0}) - Current Language", languageId));
416
+ description = ( localize(8964, "({0}) - Current Language", languageId));
417
417
  }
418
418
  else {
419
- description = ( localize(8875, "({0})", languageId));
419
+ description = ( localize(8965, "({0})", languageId));
420
420
  }
421
421
  const languageName = languageService.getLanguageName(languageId);
422
422
  if (!languageName) {
@@ -439,16 +439,16 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction {
439
439
  return a.description.localeCompare(b.description);
440
440
  });
441
441
  const autoDetectMode = {
442
- label: ( localize(8876, "Auto Detect"))
442
+ label: ( localize(8966, "Auto Detect"))
443
443
  };
444
444
  const picks = [
445
445
  autoDetectMode,
446
- { type: 'separator', label: ( localize(8877, "languages (identifier)")) },
446
+ { type: 'separator', label: ( localize(8967, "languages (identifier)")) },
447
447
  ...topItems,
448
448
  { type: 'separator' },
449
449
  ...mainItems
450
450
  ];
451
- const selection = await quickInputService.pick(picks, { placeHolder: ( localize(8878, "Select Language Mode")) });
451
+ const selection = await quickInputService.pick(picks, { placeHolder: ( localize(8968, "Select Language Mode")) });
452
452
  const languageId = selection === autoDetectMode
453
453
  ? await languageDetectionService.detectLanguage(context.cell.uri)
454
454
  : selection?.languageId;
@@ -481,7 +481,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
481
481
  constructor() {
482
482
  super({
483
483
  id: DETECT_CELL_LANGUAGE,
484
- title: ( localize2(8879, "Accept Detected Language for Cell")),
484
+ title: ( localize2(8969, "Accept Detected Language for Cell")),
485
485
  f1: true,
486
486
  precondition: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CELL_EDITABLE)),
487
487
  keybinding: { primary: KeyCode.KeyD | KeyMod.Alt | KeyMod.Shift, weight: KeybindingWeight.WorkbenchContrib }
@@ -499,7 +499,7 @@ registerAction2(class DetectCellLanguageAction extends NotebookCellAction {
499
499
  setCellToLanguage(detection, context);
500
500
  }
501
501
  else {
502
- notificationService.warn(( localize(8880, "Unable to detect cell language")));
502
+ notificationService.warn(( localize(8970, "Unable to detect cell language")));
503
503
  }
504
504
  }
505
505
  });
@@ -524,7 +524,7 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
524
524
  constructor() {
525
525
  super({
526
526
  id: SELECT_NOTEBOOK_INDENTATION_ID,
527
- title: ( localize2(8881, 'Select Indentation')),
527
+ title: ( localize2(8971, 'Select Indentation')),
528
528
  f1: true,
529
529
  precondition: ( ContextKeyExpr.and(
530
530
  NOTEBOOK_IS_ACTIVE_EDITOR,
@@ -542,10 +542,10 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
542
542
  const instantiationService = accessor.get(IInstantiationService);
543
543
  const activeNotebook = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
544
544
  if (!activeNotebook || activeNotebook.isDisposed) {
545
- return quickInputService.pick([{ label: ( localize(8882, "No notebook editor active at this time")) }]);
545
+ return quickInputService.pick([{ label: ( localize(8972, "No notebook editor active at this time")) }]);
546
546
  }
547
547
  if (activeNotebook.isReadOnly) {
548
- return quickInputService.pick([{ label: ( localize(8883, "The active notebook editor is read-only.")) }]);
548
+ return quickInputService.pick([{ label: ( localize(8973, "The active notebook editor is read-only.")) }]);
549
549
  }
550
550
  const picks = ( [
551
551
  (
@@ -567,9 +567,9 @@ registerAction2(class SelectNotebookIndentation extends NotebookAction {
567
567
  }
568
568
  };
569
569
  }));
570
- picks.splice(3, 0, { type: 'separator', label: ( localize(8884, "convert file")) });
571
- picks.unshift({ type: 'separator', label: ( localize(8885, "change view")) });
572
- const action = await quickInputService.pick(picks, { placeHolder: ( localize(8886, "Select Action")), matchOnDetail: true });
570
+ picks.splice(3, 0, { type: 'separator', label: ( localize(8974, "convert file")) });
571
+ picks.unshift({ type: 'separator', label: ( localize(8975, "change view")) });
572
+ const action = await quickInputService.pick(picks, { placeHolder: ( localize(8976, "Select Action")), matchOnDetail: true });
573
573
  if (!action) {
574
574
  return;
575
575
  }
@@ -582,7 +582,7 @@ registerAction2(class CommentSelectedCellsAction extends NotebookMultiCellAction
582
582
  constructor() {
583
583
  super({
584
584
  id: COMMENT_SELECTED_CELLS_ID,
585
- title: ( localize(8887, "Comment Selected Cells")),
585
+ title: ( localize(8977, "Comment Selected Cells")),
586
586
  keybinding: {
587
587
  when: ( ContextKeyExpr.and(
588
588
  NOTEBOOK_EDITOR_FOCUSED,
@@ -134,7 +134,7 @@ registerAction2(class RenderAllMarkdownCellsAction extends NotebookAction {
134
134
  constructor() {
135
135
  super({
136
136
  id: RENDER_ALL_MARKDOWN_CELLS,
137
- title: ( localize(8888, "Render All Markdown Cells")),
137
+ title: ( localize(8978, "Render All Markdown Cells")),
138
138
  });
139
139
  }
140
140
  async runWithContext(accessor, context) {
@@ -145,10 +145,10 @@ registerAction2(class ExecuteNotebookAction extends NotebookAction {
145
145
  constructor() {
146
146
  super({
147
147
  id: EXECUTE_NOTEBOOK_COMMAND_ID,
148
- title: ( localize(8889, "Run All")),
148
+ title: ( localize(8979, "Run All")),
149
149
  icon: executeAllIcon,
150
150
  metadata: {
151
- description: ( localize(8889, "Run All")),
151
+ description: ( localize(8979, "Run All")),
152
152
  args: [
153
153
  {
154
154
  name: 'uri',
@@ -196,7 +196,7 @@ registerAction2(class ExecuteCell extends NotebookMultiCellAction {
196
196
  super({
197
197
  id: EXECUTE_CELL_COMMAND_ID,
198
198
  precondition: executeThisCellCondition,
199
- title: ( localize(8890, "Execute Cell")),
199
+ title: ( localize(8980, "Execute Cell")),
200
200
  keybinding: {
201
201
  when: NOTEBOOK_CELL_LIST_FOCUSED,
202
202
  primary: KeyMod.WinCtrl | KeyCode.Enter,
@@ -211,7 +211,7 @@ registerAction2(class ExecuteCell extends NotebookMultiCellAction {
211
211
  group: 'inline'
212
212
  },
213
213
  metadata: {
214
- description: ( localize(8890, "Execute Cell")),
214
+ description: ( localize(8980, "Execute Cell")),
215
215
  args: cellExecutionArgs
216
216
  },
217
217
  icon: executeIcon
@@ -246,7 +246,7 @@ registerAction2(class ExecuteAboveCells extends NotebookMultiCellAction {
246
246
  super({
247
247
  id: EXECUTE_CELLS_ABOVE,
248
248
  precondition: executeCondition,
249
- title: ( localize(8891, "Execute Above Cells")),
249
+ title: ( localize(8981, "Execute Above Cells")),
250
250
  menu: [
251
251
  {
252
252
  id: MenuId.NotebookCellExecute,
@@ -286,7 +286,7 @@ registerAction2(class ExecuteCellAndBelow extends NotebookMultiCellAction {
286
286
  super({
287
287
  id: EXECUTE_CELL_AND_BELOW,
288
288
  precondition: executeCondition,
289
- title: ( localize(8892, "Execute Cell and Below")),
289
+ title: ( localize(8982, "Execute Cell and Below")),
290
290
  menu: [
291
291
  {
292
292
  id: MenuId.NotebookCellExecute,
@@ -326,9 +326,9 @@ registerAction2(class ExecuteCellFocusContainer extends NotebookMultiCellAction
326
326
  super({
327
327
  id: EXECUTE_CELL_FOCUS_CONTAINER_COMMAND_ID,
328
328
  precondition: executeThisCellCondition,
329
- title: ( localize(8893, "Execute Cell and Focus Container")),
329
+ title: ( localize(8983, "Execute Cell and Focus Container")),
330
330
  metadata: {
331
- description: ( localize(8893, "Execute Cell and Focus Container")),
331
+ description: ( localize(8983, "Execute Cell and Focus Container")),
332
332
  args: cellExecutionArgs
333
333
  },
334
334
  icon: executeIcon
@@ -358,7 +358,7 @@ registerAction2(class CancelExecuteCell extends NotebookMultiCellAction {
358
358
  super({
359
359
  id: CANCEL_CELL_COMMAND_ID,
360
360
  precondition: cellCancelCondition,
361
- title: ( localize(8894, "Stop Cell Execution")),
361
+ title: ( localize(8984, "Stop Cell Execution")),
362
362
  icon: stopIcon,
363
363
  menu: {
364
364
  id: MenuId.NotebookCellExecutePrimary,
@@ -366,7 +366,7 @@ registerAction2(class CancelExecuteCell extends NotebookMultiCellAction {
366
366
  group: 'inline'
367
367
  },
368
368
  metadata: {
369
- description: ( localize(8894, "Stop Cell Execution")),
369
+ description: ( localize(8984, "Stop Cell Execution")),
370
370
  args: [
371
371
  {
372
372
  name: 'options',
@@ -421,7 +421,7 @@ registerAction2(class ExecuteCellSelectBelow extends NotebookCellAction {
421
421
  super({
422
422
  id: EXECUTE_CELL_SELECT_BELOW,
423
423
  precondition: ( ContextKeyExpr.or(executeThisCellCondition, ( NOTEBOOK_CELL_TYPE.isEqualTo('markup')))),
424
- title: ( localize(8895, "Execute Notebook Cell and Select Below")),
424
+ title: ( localize(8985, "Execute Notebook Cell and Select Below")),
425
425
  keybinding: {
426
426
  when: ( ContextKeyExpr.and(NOTEBOOK_CELL_LIST_FOCUSED, ( CTX_INLINE_CHAT_FOCUSED.negate()))),
427
427
  primary: KeyMod.Shift | KeyCode.Enter,
@@ -482,7 +482,7 @@ registerAction2(class ExecuteCellInsertBelow extends NotebookCellAction {
482
482
  super({
483
483
  id: EXECUTE_CELL_INSERT_BELOW,
484
484
  precondition: ( ContextKeyExpr.or(executeThisCellCondition, ( NOTEBOOK_CELL_TYPE.isEqualTo('markup')))),
485
- title: ( localize(8896, "Execute Notebook Cell and Insert Below")),
485
+ title: ( localize(8986, "Execute Notebook Cell and Insert Below")),
486
486
  keybinding: {
487
487
  when: NOTEBOOK_CELL_LIST_FOCUSED,
488
488
  primary: KeyMod.Alt | KeyCode.Enter,
@@ -520,7 +520,7 @@ registerAction2(class CancelAllNotebook extends CancelNotebook {
520
520
  constructor() {
521
521
  super({
522
522
  id: CANCEL_NOTEBOOK_COMMAND_ID,
523
- title: ( localize2(8897, "Stop Execution")),
523
+ title: ( localize2(8987, "Stop Execution")),
524
524
  icon: stopIcon,
525
525
  menu: [
526
526
  {
@@ -543,7 +543,7 @@ registerAction2(class InterruptNotebook extends CancelNotebook {
543
543
  constructor() {
544
544
  super({
545
545
  id: INTERRUPT_NOTEBOOK_COMMAND_ID,
546
- title: ( localize2(8898, "Interrupt")),
546
+ title: ( localize2(8988, "Interrupt")),
547
547
  precondition: ( ContextKeyExpr.and(NOTEBOOK_HAS_SOMETHING_RUNNING, NOTEBOOK_INTERRUPTIBLE_KERNEL)),
548
548
  icon: stopIcon,
549
549
  menu: [
@@ -577,7 +577,7 @@ registerAction2(class InterruptNotebook extends CancelNotebook {
577
577
  }
578
578
  });
579
579
  MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
580
- title: ( localize(8899, "Go To")),
580
+ title: ( localize(8989, "Go To")),
581
581
  submenu: MenuId.NotebookCellExecuteGoTo,
582
582
  group: 'navigation/execute',
583
583
  order: 20,
@@ -587,9 +587,9 @@ registerAction2(class RevealRunningCellAction extends NotebookAction {
587
587
  constructor() {
588
588
  super({
589
589
  id: REVEAL_RUNNING_CELL,
590
- title: ( localize(8900, "Go to Running Cell")),
591
- tooltip: ( localize(8900, "Go to Running Cell")),
592
- shortTitle: ( localize(8900, "Go to Running Cell")),
590
+ title: ( localize(8990, "Go to Running Cell")),
591
+ tooltip: ( localize(8990, "Go to Running Cell")),
592
+ shortTitle: ( localize(8990, "Go to Running Cell")),
593
593
  precondition: NOTEBOOK_HAS_RUNNING_CELL,
594
594
  menu: [
595
595
  {
@@ -647,9 +647,9 @@ registerAction2(class RevealLastFailedCellAction extends NotebookAction {
647
647
  constructor() {
648
648
  super({
649
649
  id: REVEAL_LAST_FAILED_CELL,
650
- title: ( localize(8901, "Go to Most Recently Failed Cell")),
651
- tooltip: ( localize(8901, "Go to Most Recently Failed Cell")),
652
- shortTitle: ( localize(8902, "Go to Most Recently Failed Cell")),
650
+ title: ( localize(8991, "Go to Most Recently Failed Cell")),
651
+ tooltip: ( localize(8991, "Go to Most Recently Failed Cell")),
652
+ shortTitle: ( localize(8992, "Go to Most Recently Failed Cell")),
653
653
  precondition: NOTEBOOK_LAST_CELL_FAILED,
654
654
  menu: [
655
655
  {