@codingame/monaco-vscode-base-service-override 11.0.2 → 11.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 +2 -2
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +1 -1
- package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +1 -1
- package/vscode/src/vs/workbench/services/label/common/labelService.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-base-service-override",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0",
|
|
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@11.0
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@11.1.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -106,7 +106,7 @@ let JSONEditingService = class JSONEditingService {
|
|
|
106
106
|
switch (error) {
|
|
107
107
|
case 0 : {
|
|
108
108
|
return ( localize(
|
|
109
|
-
|
|
109
|
+
897,
|
|
110
110
|
"Unable to write into the file. Please open the file to correct errors/warnings in the file and try again."
|
|
111
111
|
));
|
|
112
112
|
}
|
|
@@ -159,7 +159,7 @@ class DecorationStyles {
|
|
|
159
159
|
const strikethrough = ( (data.some(d => d.strikethrough)));
|
|
160
160
|
if (onlyChildren) {
|
|
161
161
|
badgeClassName = rule.bubbleBadgeClassName;
|
|
162
|
-
tooltip = ( localize(
|
|
162
|
+
tooltip = ( localize(898, "Contains emphasized items"));
|
|
163
163
|
}
|
|
164
164
|
return {
|
|
165
165
|
labelClassName,
|
|
@@ -26,7 +26,7 @@ import { Memento } from 'vscode/vscode/vs/workbench/common/memento';
|
|
|
26
26
|
const resourceLabelFormattersExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
27
27
|
extensionPoint: 'resourceLabelFormatters',
|
|
28
28
|
jsonSchema: {
|
|
29
|
-
description: ( localize(
|
|
29
|
+
description: ( localize(899, 'Contributes resource label formatting rules.')),
|
|
30
30
|
type: 'array',
|
|
31
31
|
items: {
|
|
32
32
|
type: 'object',
|
|
@@ -35,52 +35,52 @@ const resourceLabelFormattersExtPoint = ExtensionsRegistry.registerExtensionPoin
|
|
|
35
35
|
scheme: {
|
|
36
36
|
type: 'string',
|
|
37
37
|
description: ( localize(
|
|
38
|
-
|
|
38
|
+
900,
|
|
39
39
|
'URI scheme on which to match the formatter on. For example "file". Simple glob patterns are supported.'
|
|
40
40
|
)),
|
|
41
41
|
},
|
|
42
42
|
authority: {
|
|
43
43
|
type: 'string',
|
|
44
44
|
description: ( localize(
|
|
45
|
-
|
|
45
|
+
901,
|
|
46
46
|
'URI authority on which to match the formatter on. Simple glob patterns are supported.'
|
|
47
47
|
)),
|
|
48
48
|
},
|
|
49
49
|
formatting: {
|
|
50
|
-
description: ( localize(
|
|
50
|
+
description: ( localize(902, "Rules for formatting uri resource labels.")),
|
|
51
51
|
type: 'object',
|
|
52
52
|
properties: {
|
|
53
53
|
label: {
|
|
54
54
|
type: 'string',
|
|
55
55
|
description: ( localize(
|
|
56
|
-
|
|
56
|
+
903,
|
|
57
57
|
"Label rules to display. For example: myLabel:/${path}. ${path}, ${scheme}, ${authority} and ${authoritySuffix} are supported as variables."
|
|
58
58
|
))
|
|
59
59
|
},
|
|
60
60
|
separator: {
|
|
61
61
|
type: 'string',
|
|
62
62
|
description: ( localize(
|
|
63
|
-
|
|
63
|
+
904,
|
|
64
64
|
"Separator to be used in the uri label display. '/' or '\' as an example."
|
|
65
65
|
))
|
|
66
66
|
},
|
|
67
67
|
stripPathStartingSeparator: {
|
|
68
68
|
type: 'boolean',
|
|
69
69
|
description: ( localize(
|
|
70
|
-
|
|
70
|
+
905,
|
|
71
71
|
"Controls whether `${path}` substitutions should have starting separator characters stripped."
|
|
72
72
|
))
|
|
73
73
|
},
|
|
74
74
|
tildify: {
|
|
75
75
|
type: 'boolean',
|
|
76
76
|
description: ( localize(
|
|
77
|
-
|
|
77
|
+
906,
|
|
78
78
|
"Controls if the start of the uri label should be tildified when possible."
|
|
79
79
|
))
|
|
80
80
|
},
|
|
81
81
|
workspaceSuffix: {
|
|
82
82
|
type: 'string',
|
|
83
|
-
description: ( localize(
|
|
83
|
+
description: ( localize(907, "Suffix appended to the workspace label."))
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -259,10 +259,10 @@ let LabelService = class LabelService extends Disposable {
|
|
|
259
259
|
}
|
|
260
260
|
doGetWorkspaceLabel(workspaceUri, options) {
|
|
261
261
|
if (isUntitledWorkspace(workspaceUri, this.environmentService)) {
|
|
262
|
-
return ( localize(
|
|
262
|
+
return ( localize(908, "Untitled (Workspace)"));
|
|
263
263
|
}
|
|
264
264
|
if (isTemporaryWorkspace(workspaceUri)) {
|
|
265
|
-
return ( localize(
|
|
265
|
+
return ( localize(909, "Workspace"));
|
|
266
266
|
}
|
|
267
267
|
let filename = basename(workspaceUri);
|
|
268
268
|
if (filename.endsWith(WORKSPACE_EXTENSION)) {
|
|
@@ -275,14 +275,14 @@ let LabelService = class LabelService extends Disposable {
|
|
|
275
275
|
break;
|
|
276
276
|
case 2 :
|
|
277
277
|
label = ( localize(
|
|
278
|
-
|
|
278
|
+
910,
|
|
279
279
|
"{0} (Workspace)",
|
|
280
280
|
this.getUriLabel(joinPath(dirname(workspaceUri), filename))
|
|
281
281
|
));
|
|
282
282
|
break;
|
|
283
283
|
case 1 :
|
|
284
284
|
default:
|
|
285
|
-
label = ( localize(
|
|
285
|
+
label = ( localize(911, "{0} (Workspace)", filename));
|
|
286
286
|
break;
|
|
287
287
|
}
|
|
288
288
|
if (options?.verbose === 0 ) {
|
package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js
CHANGED
|
@@ -25,13 +25,13 @@ let StoredFileWorkingCopySaveParticipant = class StoredFileWorkingCopySavePartic
|
|
|
25
25
|
const cts = ( (new CancellationTokenSource(token)));
|
|
26
26
|
workingCopy.model?.pushStackElement();
|
|
27
27
|
progress.report({
|
|
28
|
-
message: ( localize(
|
|
28
|
+
message: ( localize(4663, "Running Code Actions and Formatters..."))
|
|
29
29
|
});
|
|
30
30
|
let bubbleCancel = false;
|
|
31
31
|
await this.progressService.withProgress({
|
|
32
32
|
priority: NotificationPriority.URGENT,
|
|
33
33
|
location: 15 ,
|
|
34
|
-
cancellable: ( localize(
|
|
34
|
+
cancellable: ( localize(4664, "Skip")),
|
|
35
35
|
delay: workingCopy.isDirty() ? 5000 : 3000
|
|
36
36
|
}, async (progress) => {
|
|
37
37
|
for (const saveParticipant of this.saveParticipants) {
|