@codingame/monaco-vscode-comments-service-override 10.1.0 → 10.1.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": "10.1.0",
3
+ "version": "10.1.1",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@10.1.0"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.1"
30
30
  }
31
31
  }
@@ -29,7 +29,7 @@ registerAction2(class Collapse extends ViewAction {
29
29
  super({
30
30
  viewId: COMMENTS_VIEW_ID,
31
31
  id: 'comments.collapse',
32
- title: ( localize(2144, "Collapse All")),
32
+ title: ( localize(2141, "Collapse All")),
33
33
  f1: false,
34
34
  icon: Codicon.collapseAll,
35
35
  menu: {
@@ -52,7 +52,7 @@ registerAction2(class Expand extends ViewAction {
52
52
  super({
53
53
  viewId: COMMENTS_VIEW_ID,
54
54
  id: 'comments.expand',
55
- title: ( localize(2145, "Expand All")),
55
+ title: ( localize(2142, "Expand All")),
56
56
  f1: false,
57
57
  icon: Codicon.expandAll,
58
58
  menu: {
@@ -74,7 +74,7 @@ registerAction2(class Reply extends Action2 {
74
74
  constructor() {
75
75
  super({
76
76
  id: 'comments.reply',
77
- title: ( localize(2146, "Reply")),
77
+ title: ( localize(2143, "Reply")),
78
78
  icon: Codicon.reply,
79
79
  precondition: ( (ContextKeyExpr.equals('canReply', true))),
80
80
  menu: [{
@@ -100,34 +100,34 @@ registerAction2(class Reply extends Action2 {
100
100
  ( (Registry.as(Extensions.Configuration))).registerConfiguration({
101
101
  id: 'comments',
102
102
  order: 20,
103
- title: ( localize(2147, "Comments")),
103
+ title: ( localize(2144, "Comments")),
104
104
  type: 'object',
105
105
  properties: {
106
106
  'comments.openPanel': {
107
107
  enum: ['neverOpen', 'openOnSessionStart', 'openOnSessionStartWithComments'],
108
108
  default: 'openOnSessionStartWithComments',
109
- description: ( localize(2148, "Controls when the comments panel should open.")),
109
+ description: ( localize(2145, "Controls when the comments panel should open.")),
110
110
  restricted: false,
111
- markdownDeprecationMessage: ( localize(2149, "This setting is deprecated in favor of `comments.openView`."))
111
+ markdownDeprecationMessage: ( localize(2146, "This setting is deprecated in favor of `comments.openView`."))
112
112
  },
113
113
  'comments.openView': {
114
114
  enum: ['never', 'file', 'firstFile', 'firstFileUnresolved'],
115
- enumDescriptions: [( localize(2150, "The comments view will never be opened.")), ( localize(2151, "The comments view will open when a file with comments is active.")), ( localize(
116
- 2152,
115
+ enumDescriptions: [( localize(2147, "The comments view will never be opened.")), ( localize(2148, "The comments view will open when a file with comments is active.")), ( localize(
116
+ 2149,
117
117
  "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."
118
118
  )), ( localize(
119
- 2153,
119
+ 2150,
120
120
  "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."
121
121
  ))],
122
122
  default: 'firstFile',
123
- description: ( localize(2154, "Controls when the comments view should open.")),
123
+ description: ( localize(2151, "Controls when the comments view should open.")),
124
124
  restricted: false
125
125
  },
126
126
  'comments.useRelativeTime': {
127
127
  type: 'boolean',
128
128
  default: true,
129
129
  description: ( localize(
130
- 2155,
130
+ 2152,
131
131
  "Determines if relative time will be used in comment timestamps (ex. '1 day ago')."
132
132
  ))
133
133
  },
@@ -135,20 +135,20 @@ registerAction2(class Reply extends Action2 {
135
135
  type: 'boolean',
136
136
  default: true,
137
137
  description: ( localize(
138
- 2156,
138
+ 2153,
139
139
  "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."
140
140
  ))
141
141
  },
142
142
  'comments.maxHeight': {
143
143
  type: 'boolean',
144
144
  default: true,
145
- description: ( localize(2157, "Controls whether the comments widget scrolls or expands."))
145
+ description: ( localize(2154, "Controls whether the comments widget scrolls or expands."))
146
146
  },
147
147
  'comments.collapseOnResolve': {
148
148
  type: 'boolean',
149
149
  default: true,
150
150
  description: ( localize(
151
- 2158,
151
+ 2155,
152
152
  "Controls whether the comment thread should collapse when the thread is resolved."
153
153
  ))
154
154
  }
@@ -189,7 +189,7 @@ let UnresolvedCommentsBadge = class UnresolvedCommentsBadge extends Disposable {
189
189
  return;
190
190
  }
191
191
  this.totalUnresolved = unresolved;
192
- const message = ( localize(2159, '{0} Unresolved Comments', this.totalUnresolved));
192
+ const message = ( localize(2156, '{0} Unresolved Comments', this.totalUnresolved));
193
193
  this.activity.value = this.activityService.showViewActivity(COMMENTS_VIEW_ID, { badge: ( (new NumberBadge(this.totalUnresolved, () => message))) });
194
194
  }
195
195
  };
@@ -61,11 +61,11 @@ registerAction2(class extends Action2 {
61
61
  super({
62
62
  id: "editor.action.nextCommentedRangeAction" ,
63
63
  title: {
64
- value: ( localize(5327, "Go to Next Commented Range")),
64
+ value: ( localize(5303, "Go to Next Commented Range")),
65
65
  original: 'Go to Next Commented Range'
66
66
  },
67
67
  category: {
68
- value: ( localize(5328, "Comments")),
68
+ value: ( localize(5304, "Comments")),
69
69
  original: 'Comments'
70
70
  },
71
71
  f1: true,
@@ -93,11 +93,11 @@ registerAction2(class extends Action2 {
93
93
  super({
94
94
  id: "editor.action.previousCommentedRangeAction" ,
95
95
  title: {
96
- value: ( localize(5329, "Go to Previous Commented Range")),
96
+ value: ( localize(5305, "Go to Previous Commented Range")),
97
97
  original: 'Go to Previous Commented Range'
98
98
  },
99
99
  category: {
100
- value: ( localize(5328, "Comments")),
100
+ value: ( localize(5304, "Comments")),
101
101
  original: 'Comments'
102
102
  },
103
103
  f1: true,
@@ -147,7 +147,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
147
147
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
148
148
  command: {
149
149
  id: "editor.action.nextCommentingRange" ,
150
- title: ( localize(5330, "Go to Next Commenting Range")),
150
+ title: ( localize(5306, "Go to Next Commenting Range")),
151
151
  category: 'Comments',
152
152
  },
153
153
  when: CommentContextKeys.activeEditorHasCommentingRange
@@ -179,7 +179,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
179
179
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
180
180
  command: {
181
181
  id: "editor.action.previousCommentingRange" ,
182
- title: ( localize(5331, "Go to Previous Commenting Range")),
182
+ title: ( localize(5307, "Go to Previous Commenting Range")),
183
183
  category: 'Comments',
184
184
  },
185
185
  when: CommentContextKeys.activeEditorHasCommentingRange
@@ -195,7 +195,7 @@ CommandsRegistry.registerCommand({
195
195
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
196
196
  command: {
197
197
  id: "workbench.action.toggleCommenting" ,
198
- title: ( localize(5332, "Toggle Editor Commenting")),
198
+ title: ( localize(5308, "Toggle Editor Commenting")),
199
199
  category: 'Comments',
200
200
  },
201
201
  when: CommentContextKeys.WorkspaceHasCommenting
@@ -223,7 +223,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
223
223
  await controller.addOrToggleCommentAtLine(position, undefined);
224
224
  }
225
225
  catch (e) {
226
- notificationService.error(( localize(5333, "The cursor must be within a commenting range to add a comment")));
226
+ notificationService.error(( localize(5309, "The cursor must be within a commenting range to add a comment")));
227
227
  }
228
228
  },
229
229
  weight: 100 ,
@@ -232,7 +232,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
232
232
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
233
233
  command: {
234
234
  id: "workbench.action.addComment" ,
235
- title: ( localize(5334, "Add Comment on Current Selection")),
235
+ title: ( localize(5310, "Add Comment on Current Selection")),
236
236
  category: 'Comments'
237
237
  },
238
238
  when: CommentContextKeys.activeCursorHasCommentingRange
@@ -242,11 +242,11 @@ registerAction2(class extends Action2 {
242
242
  super({
243
243
  id: "workbench.action.focusCommentOnCurrentLine" ,
244
244
  title: {
245
- value: ( localize(5335, "Focus Comment on Current Line")),
245
+ value: ( localize(5311, "Focus Comment on Current Line")),
246
246
  original: 'Focus Comment on Current Line'
247
247
  },
248
248
  category: {
249
- value: ( localize(5328, "Comments")),
249
+ value: ( localize(5304, "Comments")),
250
250
  original: 'Comments'
251
251
  },
252
252
  f1: true,
@@ -278,7 +278,7 @@ registerAction2(class extends Action2 {
278
278
  error = true;
279
279
  }
280
280
  if (error) {
281
- notificationService.error(( localize(5336, "The cursor must be on a line with a comment to focus the comment")));
281
+ notificationService.error(( localize(5312, "The cursor must be on a line with a comment to focus the comment")));
282
282
  }
283
283
  }
284
284
  });
@@ -291,7 +291,7 @@ CommandsRegistry.registerCommand({
291
291
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
292
292
  command: {
293
293
  id: "workbench.action.collapseAllComments" ,
294
- title: ( localize(5337, "Collapse All Comments")),
294
+ title: ( localize(5313, "Collapse All Comments")),
295
295
  category: 'Comments'
296
296
  },
297
297
  when: CommentContextKeys.WorkspaceHasCommenting
@@ -305,7 +305,7 @@ CommandsRegistry.registerCommand({
305
305
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
306
306
  command: {
307
307
  id: "workbench.action.expandAllComments" ,
308
- title: ( localize(5338, "Expand All Comments")),
308
+ title: ( localize(5314, "Expand All Comments")),
309
309
  category: 'Comments'
310
310
  },
311
311
  when: CommentContextKeys.WorkspaceHasCommenting
@@ -319,7 +319,7 @@ CommandsRegistry.registerCommand({
319
319
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
320
320
  command: {
321
321
  id: "workbench.action.expandUnresolvedComments" ,
322
- title: ( localize(5339, "Expand Unresolved Comments")),
322
+ title: ( localize(5315, "Expand Unresolved Comments")),
323
323
  category: 'Comments'
324
324
  },
325
325
  when: CommentContextKeys.WorkspaceHasCommenting