@codingame/monaco-vscode-notebook-service-override 10.0.0 → 10.0.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-notebook-service-override",
3
- "version": "10.0.0",
3
+ "version": "10.0.2",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "vscode": "npm:@codingame/monaco-vscode-api@10.0.0",
32
+ "vscode": "npm:@codingame/monaco-vscode-api@10.0.2",
33
33
  "marked": "~14.0.0"
34
34
  }
35
35
  }
@@ -74,7 +74,7 @@ class NotebookVariableDataSource {
74
74
  notebook: parent.notebook,
75
75
  id: parent.id + `${last + 1}`,
76
76
  extHostId: parent.extHostId,
77
- name: ( localize(11620, "Display limit reached")),
77
+ name: ( localize(11616, "Display limit reached")),
78
78
  value: '',
79
79
  indexedChildrenCount: 0,
80
80
  hasNamedChildren: false
@@ -55,10 +55,10 @@ NotebookVariableRenderer = NotebookVariableRenderer_1 = ( (__decorate([
55
55
  ], NotebookVariableRenderer)));
56
56
  class NotebookVariableAccessibilityProvider {
57
57
  getWidgetAriaLabel() {
58
- return ( localize(11621, "Notebook Variables"));
58
+ return ( localize(11617, "Notebook Variables"));
59
59
  }
60
60
  getAriaLabel(element) {
61
- return ( localize(11622, "Variable {0}, value {1}", element.name, element.value));
61
+ return ( localize(11618, "Variable {0}, value {1}", element.name, element.value));
62
62
  }
63
63
  }
64
64
 
@@ -17,7 +17,7 @@ class NotebookIndentUsingTabs extends Action2 {
17
17
  constructor() {
18
18
  super({
19
19
  id: NotebookIndentUsingTabs.ID,
20
- title: ( localize(10819, "Indent Using Tabs")),
20
+ title: ( localize(10826, "Indent Using Tabs")),
21
21
  precondition: undefined,
22
22
  });
23
23
  }
@@ -30,7 +30,7 @@ class NotebookIndentUsingSpaces extends Action2 {
30
30
  constructor() {
31
31
  super({
32
32
  id: NotebookIndentUsingSpaces.ID,
33
- title: ( localize(10820, "Indent Using Spaces")),
33
+ title: ( localize(10827, "Indent Using Spaces")),
34
34
  precondition: undefined,
35
35
  });
36
36
  }
@@ -43,7 +43,7 @@ class NotebookChangeTabDisplaySize extends Action2 {
43
43
  constructor() {
44
44
  super({
45
45
  id: NotebookChangeTabDisplaySize.ID,
46
- title: ( localize(10821, "Change Tab Display Size")),
46
+ title: ( localize(10828, "Change Tab Display Size")),
47
47
  precondition: undefined,
48
48
  });
49
49
  }
@@ -56,7 +56,7 @@ class NotebookIndentationToSpacesAction extends Action2 {
56
56
  constructor() {
57
57
  super({
58
58
  id: NotebookIndentationToSpacesAction.ID,
59
- title: ( localize(10822, "Convert Indentation to Spaces")),
59
+ title: ( localize(10829, "Convert Indentation to Spaces")),
60
60
  precondition: undefined,
61
61
  });
62
62
  }
@@ -69,7 +69,7 @@ class NotebookIndentationToTabsAction extends Action2 {
69
69
  constructor() {
70
70
  super({
71
71
  id: NotebookIndentationToTabsAction.ID,
72
- title: ( localize(10823, "Convert Indentation to Tabs")),
72
+ title: ( localize(10830, "Convert Indentation to Tabs")),
73
73
  precondition: undefined,
74
74
  });
75
75
  }
@@ -101,7 +101,7 @@ function changeNotebookIndentation(accessor, insertSpaces, displaySizeOnly) {
101
101
  delete initialConfig['editor.tabSize'];
102
102
  delete initialConfig['editor.insertSpaces'];
103
103
  setTimeout(() => {
104
- quickInputService.pick(picks, { placeHolder: ( localize(10824, "Select Tab Size for Current File")) }).then(pick => {
104
+ quickInputService.pick(picks, { placeHolder: ( localize(10831, "Select Tab Size for Current File")) }).then(pick => {
105
105
  if (pick) {
106
106
  const pickedVal = parseInt(pick.label, 10);
107
107
  if (displaySizeOnly) {
@@ -151,7 +151,7 @@ function convertNotebookIndentation(accessor, tabsToSpaces) {
151
151
  return;
152
152
  }
153
153
  const edits = getIndentationEditOperations(textEditorModel, modelOpts.tabSize, tabsToSpaces);
154
- bulkEditService.apply(edits, { label: ( localize(10825, "Convert Indentation")), code: 'undoredo.convertIndentation', });
154
+ bulkEditService.apply(edits, { label: ( localize(10832, "Convert Indentation")), code: 'undoredo.convertIndentation', });
155
155
  })))).then(() => {
156
156
  const initialConfig = configurationService.getValue(NotebookSetting.cellEditorOptionsCustomizations);
157
157
  const initialIndentSize = initialConfig['editor.indentSize'];
@@ -45,8 +45,8 @@ import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/prog
45
45
  var FileWorkingCopyManager_1;
46
46
  let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
47
47
  static { FileWorkingCopyManager_1 = this; }
48
- static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localize(7876, "File Created"))); }
49
- static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localize(7877, "File Replaced"))); }
48
+ static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localize(7900, "File Created"))); }
49
+ static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localize(7901, "File Replaced"))); }
50
50
  constructor(workingCopyTypeId, storedWorkingCopyModelFactory, untitledWorkingCopyModelFactory, fileService, lifecycleService, labelService, logService, workingCopyFileService, workingCopyBackupService, uriIdentityService, fileDialogService, filesConfigurationService, workingCopyService, notificationService, workingCopyEditorService, editorService, elevatedFileService, pathService, environmentService, dialogService, decorationsService, progressService) {
51
51
  super();
52
52
  this.workingCopyTypeId = workingCopyTypeId;
@@ -101,7 +101,7 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
101
101
  constructor(stored) {
102
102
  super();
103
103
  this.stored = stored;
104
- this.label = ( localize(7878, "File Working Copy Decorations"));
104
+ this.label = ( localize(7902, "File Working Copy Decorations"));
105
105
  this._onDidChange = this._register(( (new Emitter())));
106
106
  this.onDidChange = this._onDidChange.event;
107
107
  this.registerListeners();
@@ -128,20 +128,20 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
128
128
  color: listErrorForeground,
129
129
  letter: Codicon.lockSmall,
130
130
  strikethrough: true,
131
- tooltip: ( localize(7879, "Deleted, Read-only")),
131
+ tooltip: ( localize(7903, "Deleted, Read-only")),
132
132
  };
133
133
  }
134
134
  else if (isReadonly) {
135
135
  return {
136
136
  letter: Codicon.lockSmall,
137
- tooltip: ( localize(7880, "Read-only")),
137
+ tooltip: ( localize(7904, "Read-only")),
138
138
  };
139
139
  }
140
140
  else if (isOrphaned) {
141
141
  return {
142
142
  color: listErrorForeground,
143
143
  strikethrough: true,
144
- tooltip: ( localize(7881, "Deleted")),
144
+ tooltip: ( localize(7905, "Deleted")),
145
145
  };
146
146
  }
147
147
  return undefined;
@@ -273,17 +273,17 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
273
273
  const { confirmed } = await this.dialogService.confirm({
274
274
  type: 'warning',
275
275
  message: ( localize(
276
- 7882,
276
+ 7906,
277
277
  "'{0}' already exists. Do you want to replace it?",
278
278
  basename(resource)
279
279
  )),
280
280
  detail: ( localize(
281
- 7883,
281
+ 7907,
282
282
  "A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.",
283
283
  basename(resource),
284
284
  basename(dirname(resource))
285
285
  )),
286
- primaryButton: ( localize(7884, "&&Replace"))
286
+ primaryButton: ( localize(7908, "&&Replace"))
287
287
  });
288
288
  return confirmed;
289
289
  }
@@ -291,12 +291,12 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
291
291
  const { confirmed } = await this.dialogService.confirm({
292
292
  type: 'warning',
293
293
  message: ( localize(
294
- 7885,
294
+ 7909,
295
295
  "'{0}' is marked as read-only. Do you want to save anyway?",
296
296
  basename(resource)
297
297
  )),
298
- detail: ( localize(7886, "Paths can be configured as read-only via settings.")),
299
- primaryButton: ( localize(7887, "&&Save Anyway"))
298
+ detail: ( localize(7910, "Paths can be configured as read-only via settings.")),
299
+ primaryButton: ( localize(7911, "&&Save Anyway"))
300
300
  });
301
301
  return confirmed;
302
302
  }
@@ -75,7 +75,7 @@ let StoredFileWorkingCopyManager = class StoredFileWorkingCopyManager extends Ba
75
75
  this._register(this.lifecycleService.onBeforeShutdown(event => event.veto(this.onBeforeShutdownWeb(), 'veto.fileWorkingCopyManager')));
76
76
  }
77
77
  else {
78
- this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localize(10799, "Saving working copies")) })));
78
+ this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localize(10808, "Saving working copies")) })));
79
79
  }
80
80
  }
81
81
  onBeforeShutdownWeb() {