@codingame/monaco-vscode-comments-service-override 10.1.3 → 10.1.4
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.
|
|
3
|
+
"version": "10.1.4",
|
|
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.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@10.1.4"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -61,11 +61,11 @@ registerAction2(class extends Action2 {
|
|
|
61
61
|
super({
|
|
62
62
|
id: "editor.action.nextCommentedRangeAction" ,
|
|
63
63
|
title: {
|
|
64
|
-
value: ( localize(
|
|
64
|
+
value: ( localize(5309, "Go to Next Commented Range")),
|
|
65
65
|
original: 'Go to Next Commented Range'
|
|
66
66
|
},
|
|
67
67
|
category: {
|
|
68
|
-
value: ( localize(
|
|
68
|
+
value: ( localize(5310, "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(
|
|
96
|
+
value: ( localize(5311, "Go to Previous Commented Range")),
|
|
97
97
|
original: 'Go to Previous Commented Range'
|
|
98
98
|
},
|
|
99
99
|
category: {
|
|
100
|
-
value: ( localize(
|
|
100
|
+
value: ( localize(5310, "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(
|
|
150
|
+
title: ( localize(5312, "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(
|
|
182
|
+
title: ( localize(5313, "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(
|
|
198
|
+
title: ( localize(5314, "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(
|
|
226
|
+
notificationService.error(( localize(5315, "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(
|
|
235
|
+
title: ( localize(5316, "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(
|
|
245
|
+
value: ( localize(5317, "Focus Comment on Current Line")),
|
|
246
246
|
original: 'Focus Comment on Current Line'
|
|
247
247
|
},
|
|
248
248
|
category: {
|
|
249
|
-
value: ( localize(
|
|
249
|
+
value: ( localize(5310, "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(
|
|
281
|
+
notificationService.error(( localize(5318, "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(
|
|
294
|
+
title: ( localize(5319, "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(
|
|
308
|
+
title: ( localize(5320, "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(
|
|
322
|
+
title: ( localize(5321, "Expand Unresolved Comments")),
|
|
323
323
|
category: 'Comments'
|
|
324
324
|
},
|
|
325
325
|
when: CommentContextKeys.WorkspaceHasCommenting
|