@codingame/monaco-vscode-comments-service-override 13.0.0 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-comments-service-override",
3
- "version": "13.0.0",
3
+ "version": "13.1.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - comments service-override",
6
6
  "keywords": [],
@@ -15,20 +15,12 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-219d9a5f-b446-507b-a188-1178a0867c75-common": "13.0.0",
19
- "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.0.0",
20
- "@codingame/monaco-vscode-9ee79c1a-3f03-568b-8eac-b02513a98b68-common": "13.0.0",
21
- "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "13.0.0",
22
- "@codingame/monaco-vscode-eb7d5efd-2e60-59f8-9ba4-9a8ae8cb2957-common": "13.0.0"
23
- },
24
- "peerDependencies": {
25
- "@codingame/monaco-vscode-api": "13.0.0",
26
- "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": "13.0.0"
27
- },
28
- "peerDependenciesMeta": {
29
- "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": {
30
- "optional": true
31
- }
18
+ "@codingame/monaco-vscode-219d9a5f-b446-507b-a188-1178a0867c75-common": "13.1.0",
19
+ "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.1.0",
20
+ "@codingame/monaco-vscode-9ee79c1a-3f03-568b-8eac-b02513a98b68-common": "13.1.0",
21
+ "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "13.1.0",
22
+ "@codingame/monaco-vscode-api": "13.1.0",
23
+ "@codingame/monaco-vscode-eb7d5efd-2e60-59f8-9ba4-9a8ae8cb2957-common": "13.1.0"
32
24
  },
33
25
  "main": "index.js",
34
26
  "module": "index.js",
@@ -33,7 +33,7 @@ registerAction2(class Collapse extends ViewAction {
33
33
  super({
34
34
  viewId: COMMENTS_VIEW_ID,
35
35
  id: 'comments.collapse',
36
- title: ( localize(4817, "Collapse All")),
36
+ title: ( localize(4835, "Collapse All")),
37
37
  f1: false,
38
38
  icon: Codicon.collapseAll,
39
39
  menu: {
@@ -53,7 +53,7 @@ registerAction2(class Expand extends ViewAction {
53
53
  super({
54
54
  viewId: COMMENTS_VIEW_ID,
55
55
  id: 'comments.expand',
56
- title: ( localize(4818, "Expand All")),
56
+ title: ( localize(4836, "Expand All")),
57
57
  f1: false,
58
58
  icon: Codicon.expandAll,
59
59
  menu: {
@@ -72,7 +72,7 @@ registerAction2(class Reply extends Action2 {
72
72
  constructor() {
73
73
  super({
74
74
  id: 'comments.reply',
75
- title: ( localize(4819, "Reply")),
75
+ title: ( localize(4837, "Reply")),
76
76
  icon: Codicon.reply,
77
77
  precondition: ( ContextKeyExpr.equals('canReply', true)),
78
78
  menu: [{
@@ -95,34 +95,34 @@ registerAction2(class Reply extends Action2 {
95
95
  ( Registry.as(Extensions.Configuration)).registerConfiguration({
96
96
  id: 'comments',
97
97
  order: 20,
98
- title: ( localize(4820, "Comments")),
98
+ title: ( localize(4838, "Comments")),
99
99
  type: 'object',
100
100
  properties: {
101
101
  'comments.openPanel': {
102
102
  enum: ['neverOpen', 'openOnSessionStart', 'openOnSessionStartWithComments'],
103
103
  default: 'openOnSessionStartWithComments',
104
- description: ( localize(4821, "Controls when the comments panel should open.")),
104
+ description: ( localize(4839, "Controls when the comments panel should open.")),
105
105
  restricted: false,
106
- markdownDeprecationMessage: ( localize(4822, "This setting is deprecated in favor of `comments.openView`."))
106
+ markdownDeprecationMessage: ( localize(4840, "This setting is deprecated in favor of `comments.openView`."))
107
107
  },
108
108
  'comments.openView': {
109
109
  enum: ['never', 'file', 'firstFile', 'firstFileUnresolved'],
110
- enumDescriptions: [( localize(4823, "The comments view will never be opened.")), ( localize(4824, "The comments view will open when a file with comments is active.")), ( localize(
111
- 4825,
110
+ enumDescriptions: [( localize(4841, "The comments view will never be opened.")), ( localize(4842, "The comments view will open when a file with comments is active.")), ( localize(
111
+ 4843,
112
112
  "If the comments view has not been opened yet during this session it will open the first time during a session that a file with comments is active."
113
113
  )), ( localize(
114
- 4826,
114
+ 4844,
115
115
  "If the comments view has not been opened yet during this session and the comment is not resolved, it will open the first time during a session that a file with comments is active."
116
116
  ))],
117
117
  default: 'firstFile',
118
- description: ( localize(4827, "Controls when the comments view should open.")),
118
+ description: ( localize(4845, "Controls when the comments view should open.")),
119
119
  restricted: false
120
120
  },
121
121
  'comments.useRelativeTime': {
122
122
  type: 'boolean',
123
123
  default: true,
124
124
  description: ( localize(
125
- 4828,
125
+ 4846,
126
126
  "Determines if relative time will be used in comment timestamps (ex. '1 day ago')."
127
127
  ))
128
128
  },
@@ -130,20 +130,20 @@ registerAction2(class Reply extends Action2 {
130
130
  type: 'boolean',
131
131
  default: true,
132
132
  description: ( localize(
133
- 4829,
133
+ 4847,
134
134
  "Controls the visibility of the comments bar and comment threads in editors that have commenting ranges and comments. Comments are still accessible via the Comments view and will cause commenting to be toggled on in the same way running the command \"Comments: Toggle Editor Commenting\" toggles comments."
135
135
  ))
136
136
  },
137
137
  'comments.maxHeight': {
138
138
  type: 'boolean',
139
139
  default: true,
140
- description: ( localize(4830, "Controls whether the comments widget scrolls or expands."))
140
+ description: ( localize(4848, "Controls whether the comments widget scrolls or expands."))
141
141
  },
142
142
  'comments.collapseOnResolve': {
143
143
  type: 'boolean',
144
144
  default: true,
145
145
  description: ( localize(
146
- 4831,
146
+ 4849,
147
147
  "Controls whether the comment thread should collapse when the thread is resolved."
148
148
  ))
149
149
  }
@@ -184,7 +184,7 @@ let UnresolvedCommentsBadge = class UnresolvedCommentsBadge extends Disposable {
184
184
  return;
185
185
  }
186
186
  this.totalUnresolved = unresolved;
187
- const message = ( localize(4832, '{0} Unresolved Comments', this.totalUnresolved));
187
+ const message = ( localize(4850, '{0} Unresolved Comments', this.totalUnresolved));
188
188
  this.activity.value = this.activityService.showViewActivity(COMMENTS_VIEW_ID, { badge: ( new NumberBadge(this.totalUnresolved, () => message)) });
189
189
  }
190
190
  };
@@ -41,7 +41,7 @@ declare class CommentsAccessibleContentProvider extends Disposable implements IA
41
41
  tooltip: string;
42
42
  class: string | undefined;
43
43
  enabled: boolean;
44
- checked?: boolean | undefined;
44
+ checked?: boolean;
45
45
  }[];
46
46
  provideContent(): string;
47
47
  onClose(): void;
@@ -63,11 +63,11 @@ registerAction2(class extends Action2 {
63
63
  super({
64
64
  id: CommentCommandId.NextCommentedRange,
65
65
  title: {
66
- value: ( localize(4851, "Go to Next Commented Range")),
66
+ value: ( localize(4869, "Go to Next Commented Range")),
67
67
  original: 'Go to Next Commented Range'
68
68
  },
69
69
  category: {
70
- value: ( localize(4852, "Comments")),
70
+ value: ( localize(4870, "Comments")),
71
71
  original: 'Comments'
72
72
  },
73
73
  menu: [{
@@ -98,11 +98,11 @@ registerAction2(class extends Action2 {
98
98
  super({
99
99
  id: CommentCommandId.PreviousCommentedRange,
100
100
  title: {
101
- value: ( localize(4853, "Go to Previous Commented Range")),
101
+ value: ( localize(4871, "Go to Previous Commented Range")),
102
102
  original: 'Go to Previous Commented Range'
103
103
  },
104
104
  category: {
105
- value: ( localize(4852, "Comments")),
105
+ value: ( localize(4870, "Comments")),
106
106
  original: 'Comments'
107
107
  },
108
108
  menu: [{
@@ -133,11 +133,11 @@ registerAction2(class extends Action2 {
133
133
  super({
134
134
  id: CommentCommandId.NextRange,
135
135
  title: {
136
- value: ( localize(4854, "Go to Next Commenting Range")),
136
+ value: ( localize(4872, "Go to Next Commenting Range")),
137
137
  original: 'Go to Next Commenting Range'
138
138
  },
139
139
  category: {
140
- value: ( localize(4852, "Comments")),
140
+ value: ( localize(4870, "Comments")),
141
141
  original: 'Comments'
142
142
  },
143
143
  menu: [{
@@ -168,11 +168,11 @@ registerAction2(class extends Action2 {
168
168
  super({
169
169
  id: CommentCommandId.PreviousRange,
170
170
  title: {
171
- value: ( localize(4855, "Go to Previous Commenting Range")),
171
+ value: ( localize(4873, "Go to Previous Commenting Range")),
172
172
  original: 'Go to Previous Commenting Range'
173
173
  },
174
174
  category: {
175
- value: ( localize(4852, "Comments")),
175
+ value: ( localize(4870, "Comments")),
176
176
  original: 'Comments'
177
177
  },
178
178
  menu: [{
@@ -203,11 +203,11 @@ registerAction2(class extends Action2 {
203
203
  super({
204
204
  id: CommentCommandId.ToggleCommenting,
205
205
  title: {
206
- value: ( localize(4856, "Toggle Editor Commenting")),
206
+ value: ( localize(4874, "Toggle Editor Commenting")),
207
207
  original: 'Toggle Editor Commenting'
208
208
  },
209
209
  category: {
210
- value: ( localize(4852, "Comments")),
210
+ value: ( localize(4870, "Comments")),
211
211
  original: 'Comments'
212
212
  },
213
213
  menu: [{
@@ -227,11 +227,11 @@ registerAction2(class extends Action2 {
227
227
  super({
228
228
  id: CommentCommandId.Add,
229
229
  title: {
230
- value: ( localize(4857, "Add Comment on Current Selection")),
230
+ value: ( localize(4875, "Add Comment on Current Selection")),
231
231
  original: 'Add Comment on Current Selection'
232
232
  },
233
233
  category: {
234
- value: ( localize(4852, "Comments")),
234
+ value: ( localize(4870, "Comments")),
235
235
  original: 'Comments'
236
236
  },
237
237
  menu: [{
@@ -266,7 +266,7 @@ registerAction2(class extends Action2 {
266
266
  await controller.addOrToggleCommentAtLine(position, undefined);
267
267
  }
268
268
  catch (e) {
269
- notificationService.error(( localize(4858, "The cursor must be within a commenting range to add a comment")));
269
+ notificationService.error(( localize(4876, "The cursor must be within a commenting range to add a comment")));
270
270
  }
271
271
  }
272
272
  });
@@ -275,11 +275,11 @@ registerAction2(class extends Action2 {
275
275
  super({
276
276
  id: CommentCommandId.FocusCommentOnCurrentLine,
277
277
  title: {
278
- value: ( localize(4859, "Focus Comment on Current Line")),
278
+ value: ( localize(4877, "Focus Comment on Current Line")),
279
279
  original: 'Focus Comment on Current Line'
280
280
  },
281
281
  category: {
282
- value: ( localize(4852, "Comments")),
282
+ value: ( localize(4870, "Comments")),
283
283
  original: 'Comments'
284
284
  },
285
285
  f1: true,
@@ -311,7 +311,7 @@ registerAction2(class extends Action2 {
311
311
  error = true;
312
312
  }
313
313
  if (error) {
314
- notificationService.error(( localize(4860, "The cursor must be on a line with a comment to focus the comment")));
314
+ notificationService.error(( localize(4878, "The cursor must be on a line with a comment to focus the comment")));
315
315
  }
316
316
  }
317
317
  });
@@ -320,11 +320,11 @@ registerAction2(class extends Action2 {
320
320
  super({
321
321
  id: CommentCommandId.CollapseAll,
322
322
  title: {
323
- value: ( localize(4861, "Collapse All Comments")),
323
+ value: ( localize(4879, "Collapse All Comments")),
324
324
  original: 'Collapse All Comments'
325
325
  },
326
326
  category: {
327
- value: ( localize(4852, "Comments")),
327
+ value: ( localize(4870, "Comments")),
328
328
  original: 'Comments'
329
329
  },
330
330
  menu: [{
@@ -342,11 +342,11 @@ registerAction2(class extends Action2 {
342
342
  super({
343
343
  id: CommentCommandId.ExpandAll,
344
344
  title: {
345
- value: ( localize(4862, "Expand All Comments")),
345
+ value: ( localize(4880, "Expand All Comments")),
346
346
  original: 'Expand All Comments'
347
347
  },
348
348
  category: {
349
- value: ( localize(4852, "Comments")),
349
+ value: ( localize(4870, "Comments")),
350
350
  original: 'Comments'
351
351
  },
352
352
  menu: [{
@@ -364,11 +364,11 @@ registerAction2(class extends Action2 {
364
364
  super({
365
365
  id: CommentCommandId.ExpandUnresolved,
366
366
  title: {
367
- value: ( localize(4863, "Expand Unresolved Comments")),
367
+ value: ( localize(4881, "Expand Unresolved Comments")),
368
368
  original: 'Expand Unresolved Comments'
369
369
  },
370
370
  category: {
371
- value: ( localize(4852, "Comments")),
371
+ value: ( localize(4870, "Comments")),
372
372
  original: 'Comments'
373
373
  },
374
374
  menu: [{
@@ -425,7 +425,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
425
425
  error = true;
426
426
  }
427
427
  if (error) {
428
- notificationService.error(( localize(4860, "The cursor must be on a line with a comment to focus the comment")));
428
+ notificationService.error(( localize(4878, "The cursor must be on a line with a comment to focus the comment")));
429
429
  }
430
430
  }
431
431
  }