@codingame/monaco-vscode-comments-service-override 29.1.1 → 30.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-comments-service-override",
3
- "version": "29.1.1",
3
+ "version": "30.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - comments service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "29.1.1"
18
+ "@codingame/monaco-vscode-api": "30.0.1"
19
19
  },
20
20
  "main": "index.js",
21
21
  "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(7836, "Collapse All")),
36
+ title: ( localize(7901, "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(7837, "Expand All")),
56
+ title: ( localize(7902, "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(7838, "Reply")),
75
+ title: ( localize(7903, "Reply")),
76
76
  icon: Codicon.reply,
77
77
  precondition: ( ContextKeyExpr.equals("canReply", true)),
78
78
  menu: [{
@@ -101,34 +101,34 @@ registerAction2(class Reply extends Action2 {
101
101
  ( Registry.as(Extensions.Configuration)).registerConfiguration({
102
102
  id: "comments",
103
103
  order: 20,
104
- title: ( localize(7839, "Comments")),
104
+ title: ( localize(7904, "Comments")),
105
105
  type: "object",
106
106
  properties: {
107
107
  "comments.openPanel": {
108
108
  enum: ["neverOpen", "openOnSessionStart", "openOnSessionStartWithComments"],
109
109
  default: "openOnSessionStartWithComments",
110
- description: ( localize(7840, "Controls when the comments panel should open.")),
110
+ description: ( localize(7905, "Controls when the comments panel should open.")),
111
111
  restricted: false,
112
- markdownDeprecationMessage: ( localize(7841, "This setting is deprecated in favor of `comments.openView`."))
112
+ markdownDeprecationMessage: ( localize(7906, "This setting is deprecated in favor of `comments.openView`."))
113
113
  },
114
114
  "comments.openView": {
115
115
  enum: ["never", "file", "firstFile", "firstFileUnresolved"],
116
- enumDescriptions: [( localize(7842, "The comments view will never be opened.")), ( localize(7843, "The comments view will open when a file with comments is active.")), ( localize(
117
- 7844,
116
+ enumDescriptions: [( localize(7907, "The comments view will never be opened.")), ( localize(7908, "The comments view will open when a file with comments is active.")), ( localize(
117
+ 7909,
118
118
  "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."
119
119
  )), ( localize(
120
- 7845,
120
+ 7910,
121
121
  "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."
122
122
  ))],
123
123
  default: "firstFile",
124
- description: ( localize(7846, "Controls when the comments view should open.")),
124
+ description: ( localize(7911, "Controls when the comments view should open.")),
125
125
  restricted: false
126
126
  },
127
127
  "comments.useRelativeTime": {
128
128
  type: "boolean",
129
129
  default: true,
130
130
  description: ( localize(
131
- 7847,
131
+ 7912,
132
132
  "Determines if relative time will be used in comment timestamps (ex. '1 day ago')."
133
133
  ))
134
134
  },
@@ -136,20 +136,20 @@ registerAction2(class Reply extends Action2 {
136
136
  type: "boolean",
137
137
  default: true,
138
138
  description: ( localize(
139
- 7848,
139
+ 7913,
140
140
  "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."
141
141
  ))
142
142
  },
143
143
  "comments.maxHeight": {
144
144
  type: "boolean",
145
145
  default: true,
146
- description: ( localize(7849, "Controls whether the comments widget scrolls or expands."))
146
+ description: ( localize(7914, "Controls whether the comments widget scrolls or expands."))
147
147
  },
148
148
  "comments.collapseOnResolve": {
149
149
  type: "boolean",
150
150
  default: true,
151
151
  description: ( localize(
152
- 7850,
152
+ 7915,
153
153
  "Controls whether the comment thread should collapse when the thread is resolved."
154
154
  ))
155
155
  },
@@ -157,12 +157,12 @@ registerAction2(class Reply extends Action2 {
157
157
  type: "string",
158
158
  enum: ["whenHasUnsubmittedComments", "never"],
159
159
  enumDescriptions: [( localize(
160
- 7851,
160
+ 7916,
161
161
  "Show a confirmation dialog when collapsing a comment thread with unsubmitted comments."
162
- )), ( localize(7852, "Never show a confirmation dialog when collapsing a comment thread."))],
162
+ )), ( localize(7917, "Never show a confirmation dialog when collapsing a comment thread."))],
163
163
  default: "whenHasUnsubmittedComments",
164
164
  description: ( localize(
165
- 7853,
165
+ 7918,
166
166
  "Controls whether a confirmation dialog is shown when collapsing a comment thread."
167
167
  ))
168
168
  }
@@ -208,7 +208,7 @@ let UnresolvedCommentsBadge = class UnresolvedCommentsBadge extends Disposable {
208
208
  return;
209
209
  }
210
210
  this.totalUnresolved = unresolved;
211
- const message = ( localize(7854, "{0} Unresolved Comments", this.totalUnresolved));
211
+ const message = ( localize(7919, "{0} Unresolved Comments", this.totalUnresolved));
212
212
  this.activity.value = this.activityService.showViewActivity(COMMENTS_VIEW_ID, {
213
213
  badge: ( new NumberBadge(this.totalUnresolved, () => message))
214
214
  });
@@ -71,11 +71,11 @@ registerAction2(class extends Action2 {
71
71
  super({
72
72
  id: CommentCommandId.NextCommentedRange,
73
73
  title: {
74
- value: ( localize(7875, "Go to Next Commented Range")),
74
+ value: ( localize(7940, "Go to Next Commented Range")),
75
75
  original: "Go to Next Commented Range"
76
76
  },
77
77
  category: {
78
- value: ( localize(7876, "Comments")),
78
+ value: ( localize(7941, "Comments")),
79
79
  original: "Comments"
80
80
  },
81
81
  menu: [{
@@ -106,11 +106,11 @@ registerAction2(class extends Action2 {
106
106
  super({
107
107
  id: CommentCommandId.PreviousCommentedRange,
108
108
  title: {
109
- value: ( localize(7877, "Go to Previous Commented Range")),
109
+ value: ( localize(7942, "Go to Previous Commented Range")),
110
110
  original: "Go to Previous Commented Range"
111
111
  },
112
112
  category: {
113
- value: ( localize(7876, "Comments")),
113
+ value: ( localize(7941, "Comments")),
114
114
  original: "Comments"
115
115
  },
116
116
  menu: [{
@@ -141,11 +141,11 @@ registerAction2(class extends Action2 {
141
141
  super({
142
142
  id: CommentCommandId.NextRange,
143
143
  title: {
144
- value: ( localize(7878, "Go to Next Commenting Range")),
144
+ value: ( localize(7943, "Go to Next Commenting Range")),
145
145
  original: "Go to Next Commenting Range"
146
146
  },
147
147
  category: {
148
- value: ( localize(7876, "Comments")),
148
+ value: ( localize(7941, "Comments")),
149
149
  original: "Comments"
150
150
  },
151
151
  menu: [{
@@ -179,11 +179,11 @@ registerAction2(class extends Action2 {
179
179
  super({
180
180
  id: CommentCommandId.PreviousRange,
181
181
  title: {
182
- value: ( localize(7879, "Go to Previous Commenting Range")),
182
+ value: ( localize(7944, "Go to Previous Commenting Range")),
183
183
  original: "Go to Previous Commenting Range"
184
184
  },
185
185
  category: {
186
- value: ( localize(7876, "Comments")),
186
+ value: ( localize(7941, "Comments")),
187
187
  original: "Comments"
188
188
  },
189
189
  menu: [{
@@ -217,11 +217,11 @@ registerAction2(class extends Action2 {
217
217
  super({
218
218
  id: CommentCommandId.ToggleCommenting,
219
219
  title: {
220
- value: ( localize(7880, "Toggle Editor Commenting")),
220
+ value: ( localize(7945, "Toggle Editor Commenting")),
221
221
  original: "Toggle Editor Commenting"
222
222
  },
223
223
  category: {
224
- value: ( localize(7876, "Comments")),
224
+ value: ( localize(7941, "Comments")),
225
225
  original: "Comments"
226
226
  },
227
227
  menu: [{
@@ -241,11 +241,11 @@ registerAction2(class extends Action2 {
241
241
  super({
242
242
  id: CommentCommandId.Add,
243
243
  title: {
244
- value: ( localize(7881, "Add Comment on Current Selection")),
244
+ value: ( localize(7946, "Add Comment on Current Selection")),
245
245
  original: "Add Comment on Current Selection"
246
246
  },
247
247
  category: {
248
- value: ( localize(7876, "Comments")),
248
+ value: ( localize(7941, "Comments")),
249
249
  original: "Comments"
250
250
  },
251
251
  menu: [{
@@ -282,11 +282,11 @@ registerAction2(class extends Action2 {
282
282
  super({
283
283
  id: CommentCommandId.FocusCommentOnCurrentLine,
284
284
  title: {
285
- value: ( localize(7882, "Focus Comment on Current Line")),
285
+ value: ( localize(7947, "Focus Comment on Current Line")),
286
286
  original: "Focus Comment on Current Line"
287
287
  },
288
288
  category: {
289
- value: ( localize(7876, "Comments")),
289
+ value: ( localize(7941, "Comments")),
290
290
  original: "Comments"
291
291
  },
292
292
  f1: true,
@@ -321,7 +321,7 @@ registerAction2(class extends Action2 {
321
321
  error = true;
322
322
  }
323
323
  if (error) {
324
- notificationService.error(( localize(7883, "The cursor must be on a line with a comment to focus the comment")));
324
+ notificationService.error(( localize(7948, "The cursor must be on a line with a comment to focus the comment")));
325
325
  }
326
326
  }
327
327
  });
@@ -337,11 +337,11 @@ registerAction2(class extends Action2 {
337
337
  super({
338
338
  id: CommentCommandId.CollapseAll,
339
339
  title: {
340
- value: ( localize(7884, "Collapse All Comments")),
340
+ value: ( localize(7949, "Collapse All Comments")),
341
341
  original: "Collapse All Comments"
342
342
  },
343
343
  category: {
344
- value: ( localize(7876, "Comments")),
344
+ value: ( localize(7941, "Comments")),
345
345
  original: "Comments"
346
346
  },
347
347
  menu: [{
@@ -360,11 +360,11 @@ registerAction2(class extends Action2 {
360
360
  super({
361
361
  id: CommentCommandId.ExpandAll,
362
362
  title: {
363
- value: ( localize(7885, "Expand All Comments")),
363
+ value: ( localize(7950, "Expand All Comments")),
364
364
  original: "Expand All Comments"
365
365
  },
366
366
  category: {
367
- value: ( localize(7876, "Comments")),
367
+ value: ( localize(7941, "Comments")),
368
368
  original: "Comments"
369
369
  },
370
370
  menu: [{
@@ -383,11 +383,11 @@ registerAction2(class extends Action2 {
383
383
  super({
384
384
  id: CommentCommandId.ExpandUnresolved,
385
385
  title: {
386
- value: ( localize(7886, "Expand Unresolved Comments")),
386
+ value: ( localize(7951, "Expand Unresolved Comments")),
387
387
  original: "Expand Unresolved Comments"
388
388
  },
389
389
  category: {
390
- value: ( localize(7876, "Comments")),
390
+ value: ( localize(7941, "Comments")),
391
391
  original: "Comments"
392
392
  },
393
393
  menu: [{
@@ -446,7 +446,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
446
446
  error = true;
447
447
  }
448
448
  if (error) {
449
- notificationService.error(( localize(7883, "The cursor must be on a line with a comment to focus the comment")));
449
+ notificationService.error(( localize(7948, "The cursor must be on a line with a comment to focus the comment")));
450
450
  }
451
451
  }
452
452
  }