@codingame/monaco-vscode-extensions-service-override 15.0.0 → 15.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 +28 -28
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementCLI.js +28 -28
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +10 -10
- package/vscode/src/vs/workbench/api/browser/mainThreadCLICommands.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadEditorTabs.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +11 -11
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +20 -20
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadOutputService.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviewPanels.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +23 -23
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +12 -12
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsUtil.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-extensions-service-override",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - extensions service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,33 +15,33 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
22
|
-
"@codingame/monaco-vscode-
|
|
23
|
-
"@codingame/monaco-vscode-
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
29
|
-
"@codingame/monaco-vscode-
|
|
30
|
-
"@codingame/monaco-vscode-
|
|
31
|
-
"@codingame/monaco-vscode-
|
|
32
|
-
"@codingame/monaco-vscode-
|
|
33
|
-
"@codingame/monaco-vscode-
|
|
34
|
-
"@codingame/monaco-vscode-
|
|
35
|
-
"@codingame/monaco-vscode-
|
|
36
|
-
"@codingame/monaco-vscode-
|
|
37
|
-
"@codingame/monaco-vscode-
|
|
38
|
-
"@codingame/monaco-vscode-
|
|
39
|
-
"@codingame/monaco-vscode-
|
|
40
|
-
"@codingame/monaco-vscode-
|
|
41
|
-
"@codingame/monaco-vscode-
|
|
42
|
-
"@codingame/monaco-vscode-
|
|
43
|
-
"@codingame/monaco-vscode-
|
|
44
|
-
"@codingame/monaco-vscode-files-service-override": "15.0.
|
|
18
|
+
"@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "15.0.1",
|
|
19
|
+
"@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "15.0.1",
|
|
20
|
+
"@codingame/monaco-vscode-168b98e5-dc20-5807-b1f9-798f1f92b37f-common": "15.0.1",
|
|
21
|
+
"@codingame/monaco-vscode-256d5b78-0649-50e9-8354-2807f95f68f4-common": "15.0.1",
|
|
22
|
+
"@codingame/monaco-vscode-3607c442-ae7a-594b-b840-038378c24fef-common": "15.0.1",
|
|
23
|
+
"@codingame/monaco-vscode-38f25ab8-ea30-5ba9-8a08-ae3308c297c0-common": "15.0.1",
|
|
24
|
+
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "15.0.1",
|
|
25
|
+
"@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common": "15.0.1",
|
|
26
|
+
"@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common": "15.0.1",
|
|
27
|
+
"@codingame/monaco-vscode-7ba0af96-90c2-5e11-ad7f-befdbbf246c8-common": "15.0.1",
|
|
28
|
+
"@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common": "15.0.1",
|
|
29
|
+
"@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common": "15.0.1",
|
|
30
|
+
"@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common": "15.0.1",
|
|
31
|
+
"@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common": "15.0.1",
|
|
32
|
+
"@codingame/monaco-vscode-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common": "15.0.1",
|
|
33
|
+
"@codingame/monaco-vscode-ad89fae6-94f0-5ac2-a185-22dea4b68ee0-common": "15.0.1",
|
|
34
|
+
"@codingame/monaco-vscode-aff8bc9b-c6f8-578f-9c8a-f70d14f9c13c-common": "15.0.1",
|
|
35
|
+
"@codingame/monaco-vscode-api": "15.0.1",
|
|
36
|
+
"@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common": "15.0.1",
|
|
37
|
+
"@codingame/monaco-vscode-bd6ad8b7-9db3-51a8-9895-0046508c029d-common": "15.0.1",
|
|
38
|
+
"@codingame/monaco-vscode-be8ddbb5-094a-5657-b1cc-fe106c94c632-common": "15.0.1",
|
|
39
|
+
"@codingame/monaco-vscode-bf94ddb5-e436-506a-9763-5ab86b642508-common": "15.0.1",
|
|
40
|
+
"@codingame/monaco-vscode-d7f659f5-da33-5ea8-a3b8-9b94f2cf5f33-common": "15.0.1",
|
|
41
|
+
"@codingame/monaco-vscode-eb7d5efd-2e60-59f8-9ba4-9a8ae8cb2957-common": "15.0.1",
|
|
42
|
+
"@codingame/monaco-vscode-eba0b9b3-174c-5dae-9867-a37810ca1808-common": "15.0.1",
|
|
43
|
+
"@codingame/monaco-vscode-fdf643f9-94dd-5510-b97a-408abf26ad92-common": "15.0.1",
|
|
44
|
+
"@codingame/monaco-vscode-files-service-override": "15.0.1"
|
|
45
45
|
},
|
|
46
46
|
"main": "index.js",
|
|
47
47
|
"module": "index.js",
|
|
@@ -12,9 +12,9 @@ import { IExtensionManagementService, IExtensionGalleryService } from '@codingam
|
|
|
12
12
|
import { getIdAndVersion, areSameExtensions, getGalleryExtensionId, getExtensionId } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagementUtil';
|
|
13
13
|
import { ExtensionType, EXTENSION_CATEGORIES } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensions/common/extensions';
|
|
14
14
|
|
|
15
|
-
const notFound = (id) => ( localize(
|
|
15
|
+
const notFound = (id) => ( localize(1736, "Extension '{0}' not found.", id));
|
|
16
16
|
const useId = ( localize(
|
|
17
|
-
|
|
17
|
+
1737,
|
|
18
18
|
"Make sure you use the full extension ID, including the publisher, e.g.: {0}",
|
|
19
19
|
'ms-dotnettools.csharp'
|
|
20
20
|
));
|
|
@@ -51,7 +51,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
53
53
|
if (this.location) {
|
|
54
|
-
this.logger.info(( localize(
|
|
54
|
+
this.logger.info(( localize(1738, "Extensions installed on {0}:", this.location)));
|
|
55
55
|
}
|
|
56
56
|
extensions = extensions.sort((e1, e2) => e1.identifier.id.localeCompare(e2.identifier.id));
|
|
57
57
|
let lastId = undefined;
|
|
@@ -66,7 +66,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
66
66
|
const failed = [];
|
|
67
67
|
try {
|
|
68
68
|
if (extensions.length) {
|
|
69
|
-
this.logger.info(this.location ? ( localize(
|
|
69
|
+
this.logger.info(this.location ? ( localize(1739, "Installing extensions on {0}...", this.location)) : ( localize(1740, "Installing extensions...")));
|
|
70
70
|
}
|
|
71
71
|
const installVSIXInfos = [];
|
|
72
72
|
const installExtensionInfos = [];
|
|
@@ -109,11 +109,11 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
catch (error) {
|
|
112
|
-
this.logger.error(( localize(
|
|
112
|
+
this.logger.error(( localize(1741, "Error while installing extensions: {0}", getErrorMessage(error))));
|
|
113
113
|
throw error;
|
|
114
114
|
}
|
|
115
115
|
if (failed.length) {
|
|
116
|
-
throw ( new Error(( localize(
|
|
116
|
+
throw ( new Error(( localize(1742, "Failed Installing Extensions: {0}", failed.join(', ')))));
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
async updateExtensions(profileLocation) {
|
|
@@ -125,7 +125,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
this.logger.trace(( localize(
|
|
128
|
-
|
|
128
|
+
1743,
|
|
129
129
|
"Fetching latest versions for {0} extensions",
|
|
130
130
|
installedExtensionsQuery.length
|
|
131
131
|
)));
|
|
@@ -142,11 +142,11 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
if (!extensionsToUpdate.length) {
|
|
145
|
-
this.logger.info(( localize(
|
|
145
|
+
this.logger.info(( localize(1744, "No extension to update")));
|
|
146
146
|
return;
|
|
147
147
|
}
|
|
148
148
|
this.logger.info(( localize(
|
|
149
|
-
|
|
149
|
+
1745,
|
|
150
150
|
"Updating extensions: {0}",
|
|
151
151
|
( extensionsToUpdate.map(ext => ext.extension.identifier.id)).join(', ')
|
|
152
152
|
)));
|
|
@@ -154,7 +154,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
154
154
|
for (const extensionResult of installationResult) {
|
|
155
155
|
if (extensionResult.error) {
|
|
156
156
|
this.logger.error(( localize(
|
|
157
|
-
|
|
157
|
+
1746,
|
|
158
158
|
"Error while updating extension {0}: {1}",
|
|
159
159
|
extensionResult.identifier.id,
|
|
160
160
|
getErrorMessage(extensionResult.error)
|
|
@@ -162,7 +162,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
162
162
|
}
|
|
163
163
|
else {
|
|
164
164
|
this.logger.info(( localize(
|
|
165
|
-
|
|
165
|
+
1747,
|
|
166
166
|
"Extension '{0}' v{1} was successfully updated.",
|
|
167
167
|
extensionResult.identifier.id,
|
|
168
168
|
extensionResult.local?.manifest.version
|
|
@@ -176,7 +176,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
176
176
|
if (installedExtension) {
|
|
177
177
|
if (!force && (!version || (version === 'prerelease' && installedExtension.preRelease))) {
|
|
178
178
|
this.logger.info(( localize(
|
|
179
|
-
|
|
179
|
+
1748,
|
|
180
180
|
"Extension '{0}' v{1} is already installed. Use '--force' option to update to latest version or provide '@<version>' to install a specific version, for example: '{2}@1.2.3'.",
|
|
181
181
|
id,
|
|
182
182
|
installedExtension.manifest.version,
|
|
@@ -185,7 +185,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
185
185
|
return false;
|
|
186
186
|
}
|
|
187
187
|
if (version && installedExtension.manifest.version === version) {
|
|
188
|
-
this.logger.info(( localize(
|
|
188
|
+
this.logger.info(( localize(1749, "Extension '{0}' is already installed.", `${id}@${version}`)));
|
|
189
189
|
return false;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
@@ -219,24 +219,24 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
219
219
|
if (installedExtension) {
|
|
220
220
|
if (gallery.version === installedExtension.manifest.version) {
|
|
221
221
|
this.logger.info(( localize(
|
|
222
|
-
|
|
222
|
+
1749,
|
|
223
223
|
"Extension '{0}' is already installed.",
|
|
224
224
|
version ? `${id}@${version}` : id
|
|
225
225
|
)));
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
228
|
this.logger.info(( localize(
|
|
229
|
-
|
|
229
|
+
1750,
|
|
230
230
|
"Updating the extension '{0}' to the version {1}",
|
|
231
231
|
id,
|
|
232
232
|
gallery.version
|
|
233
233
|
)));
|
|
234
234
|
}
|
|
235
235
|
if (installOptions.isBuiltin) {
|
|
236
|
-
this.logger.info(version ? ( localize(
|
|
236
|
+
this.logger.info(version ? ( localize(1751, "Installing builtin extension '{0}' v{1}...", id, version)) : ( localize(1752, "Installing builtin extension '{0}'...", id)));
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
239
|
-
this.logger.info(version ? ( localize(
|
|
239
|
+
this.logger.info(version ? ( localize(1753, "Installing extension '{0}' v{1}...", id, version)) : ( localize(1754, "Installing extension '{0}'...", id)));
|
|
240
240
|
}
|
|
241
241
|
extensionsToInstall.push({
|
|
242
242
|
extension: gallery,
|
|
@@ -248,7 +248,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
248
248
|
for (const extensionResult of installationResult) {
|
|
249
249
|
if (extensionResult.error) {
|
|
250
250
|
this.logger.error(( localize(
|
|
251
|
-
|
|
251
|
+
1755,
|
|
252
252
|
"Error while installing extension {0}: {1}",
|
|
253
253
|
extensionResult.identifier.id,
|
|
254
254
|
getErrorMessage(extensionResult.error)
|
|
@@ -257,7 +257,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
257
257
|
}
|
|
258
258
|
else {
|
|
259
259
|
this.logger.info(( localize(
|
|
260
|
-
|
|
260
|
+
1756,
|
|
261
261
|
"Extension '{0}' v{1} was successfully installed.",
|
|
262
262
|
extensionResult.identifier.id,
|
|
263
263
|
extensionResult.local?.manifest.version
|
|
@@ -276,11 +276,11 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
276
276
|
if (valid) {
|
|
277
277
|
try {
|
|
278
278
|
await this.extensionManagementService.install(vsix, { ...installOptions, installGivenVersion: true });
|
|
279
|
-
this.logger.info(( localize(
|
|
279
|
+
this.logger.info(( localize(1757, "Extension '{0}' was successfully installed.", basename(vsix))));
|
|
280
280
|
}
|
|
281
281
|
catch (error) {
|
|
282
282
|
if (isCancellationError(error)) {
|
|
283
|
-
this.logger.info(( localize(
|
|
283
|
+
this.logger.info(( localize(1758, "Cancelled installing extension '{0}'.", basename(vsix))));
|
|
284
284
|
}
|
|
285
285
|
else {
|
|
286
286
|
throw error;
|
|
@@ -315,7 +315,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
315
315
|
const newer = installedExtensions.find(local => areSameExtensions(extensionIdentifier, local.identifier) && semverExports.gt(local.manifest.version, manifest.version));
|
|
316
316
|
if (newer) {
|
|
317
317
|
this.logger.info(( localize(
|
|
318
|
-
|
|
318
|
+
1759,
|
|
319
319
|
"A newer version of extension '{0}' v{1} is already installed. Use '--force' option to downgrade to older version.",
|
|
320
320
|
newer.identifier.id,
|
|
321
321
|
newer.manifest.version,
|
|
@@ -343,7 +343,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
343
343
|
}
|
|
344
344
|
if (( extensionsToUninstall.some(e => e.type === ExtensionType.System))) {
|
|
345
345
|
this.logger.info(( localize(
|
|
346
|
-
|
|
346
|
+
1760,
|
|
347
347
|
"Extension '{0}' is a Built-in extension and cannot be uninstalled",
|
|
348
348
|
id
|
|
349
349
|
)));
|
|
@@ -351,26 +351,26 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
351
351
|
}
|
|
352
352
|
if (!force && ( extensionsToUninstall.some(e => e.isBuiltin))) {
|
|
353
353
|
this.logger.info(( localize(
|
|
354
|
-
|
|
354
|
+
1761,
|
|
355
355
|
"Extension '{0}' is marked as a Built-in extension by user. Please use '--force' option to uninstall it.",
|
|
356
356
|
id
|
|
357
357
|
)));
|
|
358
358
|
return;
|
|
359
359
|
}
|
|
360
|
-
this.logger.info(( localize(
|
|
360
|
+
this.logger.info(( localize(1762, "Uninstalling {0}...", id)));
|
|
361
361
|
for (const extensionToUninstall of extensionsToUninstall) {
|
|
362
362
|
await this.extensionManagementService.uninstall(extensionToUninstall, { profileLocation });
|
|
363
363
|
}
|
|
364
364
|
if (this.location) {
|
|
365
365
|
this.logger.info(( localize(
|
|
366
|
-
|
|
366
|
+
1763,
|
|
367
367
|
"Extension '{0}' was successfully uninstalled from {1}!",
|
|
368
368
|
id,
|
|
369
369
|
this.location
|
|
370
370
|
)));
|
|
371
371
|
}
|
|
372
372
|
else {
|
|
373
|
-
this.logger.info(( localize(
|
|
373
|
+
this.logger.info(( localize(1764, "Extension '{0}' was successfully uninstalled!", id)));
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
}
|
|
@@ -388,7 +388,7 @@ let ExtensionManagementCLI = class ExtensionManagementCLI {
|
|
|
388
388
|
});
|
|
389
389
|
}
|
|
390
390
|
notInstalled(id) {
|
|
391
|
-
return this.location ? ( localize(
|
|
391
|
+
return this.location ? ( localize(1765, "Extension '{0}' is not installed on {1}.", id, this.location)) : ( localize(1766, "Extension '{0}' is not installed.", id));
|
|
392
392
|
}
|
|
393
393
|
};
|
|
394
394
|
ExtensionManagementCLI = ( __decorate([
|
|
@@ -39,7 +39,7 @@ class MainThreadAuthenticationProvider extends Disposable {
|
|
|
39
39
|
}
|
|
40
40
|
async removeSession(sessionId) {
|
|
41
41
|
await this._proxy.$removeSession(this.id, sessionId);
|
|
42
|
-
this.notificationService.info(( localize(
|
|
42
|
+
this.notificationService.info(( localize(2324, "Successfully signed out.")));
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
let MainThreadAuthentication = class MainThreadAuthentication extends Disposable {
|
|
@@ -106,7 +106,7 @@ let MainThreadAuthentication = class MainThreadAuthentication extends Disposable
|
|
|
106
106
|
let message;
|
|
107
107
|
if (provider.id.startsWith(INTERNAL_AUTH_PROVIDER_PREFIX)) {
|
|
108
108
|
message = ( localize(
|
|
109
|
-
|
|
109
|
+
2325,
|
|
110
110
|
"The extension '{0}' wants to access the language models provided by {1}.",
|
|
111
111
|
extensionName,
|
|
112
112
|
provider.label
|
|
@@ -115,13 +115,13 @@ let MainThreadAuthentication = class MainThreadAuthentication extends Disposable
|
|
|
115
115
|
else {
|
|
116
116
|
message = recreatingSession
|
|
117
117
|
? ( localize(
|
|
118
|
-
|
|
118
|
+
2326,
|
|
119
119
|
"The extension '{0}' wants you to sign in again using {1}.",
|
|
120
120
|
extensionName,
|
|
121
121
|
provider.label
|
|
122
122
|
))
|
|
123
123
|
: ( localize(
|
|
124
|
-
|
|
124
|
+
2327,
|
|
125
125
|
"The extension '{0}' wants to sign in using {1}.",
|
|
126
126
|
extensionName,
|
|
127
127
|
provider.label
|
|
@@ -129,7 +129,7 @@ let MainThreadAuthentication = class MainThreadAuthentication extends Disposable
|
|
|
129
129
|
}
|
|
130
130
|
const buttons = [
|
|
131
131
|
{
|
|
132
|
-
label: ( localize(
|
|
132
|
+
label: ( localize(2328, "&&Allow")),
|
|
133
133
|
run() {
|
|
134
134
|
return true;
|
|
135
135
|
},
|
|
@@ -137,7 +137,7 @@ let MainThreadAuthentication = class MainThreadAuthentication extends Disposable
|
|
|
137
137
|
];
|
|
138
138
|
if (options?.learnMore) {
|
|
139
139
|
buttons.push({
|
|
140
|
-
label: ( localize(
|
|
140
|
+
label: ( localize(2329, "Learn more")),
|
|
141
141
|
run: async () => {
|
|
142
142
|
const result = this.loginPrompt(provider, extensionName, recreatingSession, options);
|
|
143
143
|
await this.openerService.open(URI.revive(options.learnMore), { allowCommands: true });
|
|
@@ -156,9 +156,9 @@ let MainThreadAuthentication = class MainThreadAuthentication extends Disposable
|
|
|
156
156
|
}
|
|
157
157
|
async continueWithIncorrectAccountPrompt(chosenAccountLabel, requestedAccountLabel) {
|
|
158
158
|
const result = await this.dialogService.prompt({
|
|
159
|
-
message: ( localize(
|
|
159
|
+
message: ( localize(2330, "Incorrect account detected")),
|
|
160
160
|
detail: ( localize(
|
|
161
|
-
|
|
161
|
+
2331,
|
|
162
162
|
"The chosen account, {0}, does not match the requested account, {1}.",
|
|
163
163
|
chosenAccountLabel,
|
|
164
164
|
requestedAccountLabel
|
|
@@ -167,11 +167,11 @@ let MainThreadAuthentication = class MainThreadAuthentication extends Disposable
|
|
|
167
167
|
cancelButton: true,
|
|
168
168
|
buttons: [
|
|
169
169
|
{
|
|
170
|
-
label: ( localize(
|
|
170
|
+
label: ( localize(2332, 'Keep {0}', chosenAccountLabel)),
|
|
171
171
|
run: () => chosenAccountLabel
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
|
-
label: ( localize(
|
|
174
|
+
label: ( localize(2333, 'Login with {0}', requestedAccountLabel)),
|
|
175
175
|
run: () => requestedAccountLabel
|
|
176
176
|
}
|
|
177
177
|
],
|
|
@@ -92,7 +92,7 @@ let RemoteExtensionManagementCLI = class RemoteExtensionManagementCLI extends Ex
|
|
|
92
92
|
if (!this._extensionManifestPropertiesService.canExecuteOnWorkspace(manifest)
|
|
93
93
|
&& !(isWeb && this._extensionManifestPropertiesService.canExecuteOnWeb(manifest))) {
|
|
94
94
|
this.logger.info(( localize(
|
|
95
|
-
|
|
95
|
+
2334,
|
|
96
96
|
"Cannot install the '{0}' extension because it is declared to not run in this setup.",
|
|
97
97
|
getExtensionId(manifest.publisher, manifest.name)
|
|
98
98
|
)));
|
|
@@ -423,7 +423,7 @@ class MainThreadCommentController {
|
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
const commentsViewIcon = registerIcon('comments-view-icon', Codicon.commentDiscussion, ( localize(
|
|
426
|
+
const commentsViewIcon = registerIcon('comments-view-icon', Codicon.commentDiscussion, ( localize(2335, 'View icon of the comments view.')));
|
|
427
427
|
let MainThreadComments = class MainThreadComments extends Disposable {
|
|
428
428
|
constructor(extHostContext, _commentService, _viewsService, _viewDescriptorService, _uriIdentityService, _editorService) {
|
|
429
429
|
super();
|
|
@@ -301,7 +301,7 @@ let MainThreadCustomEditorModel = MainThreadCustomEditorModel_1 = class MainThre
|
|
|
301
301
|
this._register(workingCopyService.registerWorkingCopy(this));
|
|
302
302
|
this._register(extensionService.onWillStop(e => {
|
|
303
303
|
e.veto(true, ( localize(
|
|
304
|
-
|
|
304
|
+
2336,
|
|
305
305
|
"An extension provided editor for '{0}' is still open that would close otherwise.",
|
|
306
306
|
this.name
|
|
307
307
|
)));
|
|
@@ -369,7 +369,7 @@ let MainThreadCustomEditorModel = MainThreadCustomEditorModel_1 = class MainThre
|
|
|
369
369
|
this._undoService.pushElement({
|
|
370
370
|
type: UndoRedoElementType.Resource,
|
|
371
371
|
resource: this._editorResource,
|
|
372
|
-
label: label ?? ( localize(
|
|
372
|
+
label: label ?? ( localize(2337, "Edit")),
|
|
373
373
|
code: 'undoredo.customEditorEdit',
|
|
374
374
|
undo: () => this.undo(),
|
|
375
375
|
redo: () => this.redo(),
|
|
@@ -14,7 +14,7 @@ class ExtHostEditSessionIdentityCreateParticipant {
|
|
|
14
14
|
}
|
|
15
15
|
async participate(workspaceFolder, token) {
|
|
16
16
|
const p = ( new Promise((resolve, reject) => {
|
|
17
|
-
setTimeout(() => reject(( new Error(( localize(
|
|
17
|
+
setTimeout(() => reject(( new Error(( localize(2338, "Aborted onWillCreateEditSessionIdentity-event after 10000ms"))))), this.timeout);
|
|
18
18
|
this._proxy.$onWillCreateEditSessionIdentity(workspaceFolder.uri, token, this.timeout).then(resolve, reject);
|
|
19
19
|
}));
|
|
20
20
|
return raceCancellationError(p, token);
|
|
@@ -8,9 +8,9 @@ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
8
8
|
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
9
9
|
import { ExtHostContext, TabInputKind, TabModelOperationKind, MainContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol';
|
|
10
10
|
import { EditorResourceAccessor, SideBySideEditor, GroupModelChangeKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
11
|
-
import { DiffEditorInput } from '@codingame/monaco-vscode-
|
|
11
|
+
import { DiffEditorInput } from '@codingame/monaco-vscode-fdf643f9-94dd-5510-b97a-408abf26ad92-common/vscode/vs/workbench/common/editor/diffEditorInput';
|
|
12
12
|
import { isGroupEditorMoveEvent } from '@codingame/monaco-vscode-ad89fae6-94f0-5ac2-a185-22dea4b68ee0-common/vscode/vs/workbench/common/editor/editorGroupModel';
|
|
13
|
-
import { SideBySideEditorInput } from '@codingame/monaco-vscode-
|
|
13
|
+
import { SideBySideEditorInput } from '@codingame/monaco-vscode-fdf643f9-94dd-5510-b97a-408abf26ad92-common/vscode/vs/workbench/common/editor/sideBySideEditorInput';
|
|
14
14
|
import { AbstractTextResourceEditorInput } from '@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/common/editor/textResourceEditorInput';
|
|
15
15
|
import { ChatEditorInput } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
16
16
|
import { CustomEditorInput } from '@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/customEditor/browser/customEditorInput';
|
|
@@ -89,13 +89,13 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
89
89
|
this._notificationService.notify({
|
|
90
90
|
severity: Severity.Error,
|
|
91
91
|
message: ( localize(
|
|
92
|
-
|
|
92
|
+
2339,
|
|
93
93
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension, which is not loaded. Would you like to reload the window to load the extension?",
|
|
94
94
|
extName,
|
|
95
95
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
96
96
|
)),
|
|
97
97
|
actions: {
|
|
98
|
-
primary: [( new Action('reload', ( localize(
|
|
98
|
+
primary: [( new Action('reload', ( localize(2340, "Reload Window")), '', true, () => this._hostService.reload()))]
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
}
|
|
@@ -105,7 +105,7 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
105
105
|
this._notificationService.notify({
|
|
106
106
|
severity: Severity.Error,
|
|
107
107
|
message: ( localize(
|
|
108
|
-
|
|
108
|
+
2341,
|
|
109
109
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension which is not supported in the current workspace",
|
|
110
110
|
extName,
|
|
111
111
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
@@ -116,13 +116,13 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
116
116
|
this._notificationService.notify({
|
|
117
117
|
severity: Severity.Error,
|
|
118
118
|
message: ( localize(
|
|
119
|
-
|
|
119
|
+
2342,
|
|
120
120
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension which is not supported in Restricted Mode",
|
|
121
121
|
extName,
|
|
122
122
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
123
123
|
)),
|
|
124
124
|
actions: {
|
|
125
|
-
primary: [( new Action('manageWorkspaceTrust', ( localize(
|
|
125
|
+
primary: [( new Action('manageWorkspaceTrust', ( localize(2343, "Manage Workspace Trust")), '', true, () => this._commandService.executeCommand('workbench.trust.manage')))]
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
}
|
|
@@ -130,13 +130,13 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
130
130
|
this._notificationService.notify({
|
|
131
131
|
severity: Severity.Error,
|
|
132
132
|
message: ( localize(
|
|
133
|
-
|
|
133
|
+
2344,
|
|
134
134
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension which is disabled. Would you like to enable the extension and reload the window?",
|
|
135
135
|
extName,
|
|
136
136
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
137
137
|
)),
|
|
138
138
|
actions: {
|
|
139
|
-
primary: [( new Action('enable', ( localize(
|
|
139
|
+
primary: [( new Action('enable', ( localize(2345, "Enable and Reload")), '', true, () => this._extensionEnablementService.setEnablement([missingInstalledDependency], enablementState === EnablementState.DisabledGlobally ? EnablementState.EnabledGlobally : EnablementState.EnabledWorkspace)
|
|
140
140
|
.then(() => this._hostService.reload(), e => this._notificationService.error(e))))]
|
|
141
141
|
}
|
|
142
142
|
});
|
|
@@ -145,7 +145,7 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
145
145
|
this._notificationService.notify({
|
|
146
146
|
severity: Severity.Error,
|
|
147
147
|
message: ( localize(
|
|
148
|
-
|
|
148
|
+
2346,
|
|
149
149
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension which is disabled.",
|
|
150
150
|
extName,
|
|
151
151
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
@@ -166,21 +166,21 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
166
166
|
this._notificationService.notify({
|
|
167
167
|
severity: Severity.Error,
|
|
168
168
|
message: ( localize(
|
|
169
|
-
|
|
169
|
+
2347,
|
|
170
170
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension from '{2}', which is not installed. Would you like to install the extension and reload the window?",
|
|
171
171
|
extName,
|
|
172
172
|
dependencyExtension.displayName,
|
|
173
173
|
dependencyExtension.publisherDisplayName
|
|
174
174
|
)),
|
|
175
175
|
actions: {
|
|
176
|
-
primary: [( new Action('install', ( localize(
|
|
176
|
+
primary: [( new Action('install', ( localize(2348, "Install and Reload")), '', true, () => this._extensionsWorkbenchService.install(dependencyExtension)
|
|
177
177
|
.then(() => this._hostService.reload(), e => this._notificationService.error(e))))]
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
182
|
this._notificationService.error(( localize(
|
|
183
|
-
|
|
183
|
+
2349,
|
|
184
184
|
"Cannot activate the '{0}' extension because it depends on an unknown '{1}' extension.",
|
|
185
185
|
extName,
|
|
186
186
|
missingDependency
|
|
@@ -75,28 +75,28 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
75
75
|
if (data.extensionNames.length === 1) {
|
|
76
76
|
if (operation === FileOperation.CREATE) {
|
|
77
77
|
message = ( localize(
|
|
78
|
-
|
|
78
|
+
2350,
|
|
79
79
|
"Extension '{0}' wants to make refactoring changes with this file creation",
|
|
80
80
|
data.extensionNames[0]
|
|
81
81
|
));
|
|
82
82
|
}
|
|
83
83
|
else if (operation === FileOperation.COPY) {
|
|
84
84
|
message = ( localize(
|
|
85
|
-
|
|
85
|
+
2351,
|
|
86
86
|
"Extension '{0}' wants to make refactoring changes with this file copy",
|
|
87
87
|
data.extensionNames[0]
|
|
88
88
|
));
|
|
89
89
|
}
|
|
90
90
|
else if (operation === FileOperation.MOVE) {
|
|
91
91
|
message = ( localize(
|
|
92
|
-
|
|
92
|
+
2352,
|
|
93
93
|
"Extension '{0}' wants to make refactoring changes with this file move",
|
|
94
94
|
data.extensionNames[0]
|
|
95
95
|
));
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
98
|
message = ( localize(
|
|
99
|
-
|
|
99
|
+
2353,
|
|
100
100
|
"Extension '{0}' wants to make refactoring changes with this file deletion",
|
|
101
101
|
data.extensionNames[0]
|
|
102
102
|
));
|
|
@@ -105,28 +105,28 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
105
105
|
else {
|
|
106
106
|
if (operation === FileOperation.CREATE) {
|
|
107
107
|
message = ( localize(
|
|
108
|
-
|
|
108
|
+
2354,
|
|
109
109
|
"{0} extensions want to make refactoring changes with this file creation",
|
|
110
110
|
data.extensionNames.length
|
|
111
111
|
));
|
|
112
112
|
}
|
|
113
113
|
else if (operation === FileOperation.COPY) {
|
|
114
114
|
message = ( localize(
|
|
115
|
-
|
|
115
|
+
2355,
|
|
116
116
|
"{0} extensions want to make refactoring changes with this file copy",
|
|
117
117
|
data.extensionNames.length
|
|
118
118
|
));
|
|
119
119
|
}
|
|
120
120
|
else if (operation === FileOperation.MOVE) {
|
|
121
121
|
message = ( localize(
|
|
122
|
-
|
|
122
|
+
2356,
|
|
123
123
|
"{0} extensions want to make refactoring changes with this file move",
|
|
124
124
|
data.extensionNames.length
|
|
125
125
|
));
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
128
|
message = ( localize(
|
|
129
|
-
|
|
129
|
+
2357,
|
|
130
130
|
"{0} extensions want to make refactoring changes with this file deletion",
|
|
131
131
|
data.extensionNames.length
|
|
132
132
|
));
|
|
@@ -136,8 +136,8 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
136
136
|
const { confirmed } = await dialogService.confirm({
|
|
137
137
|
type: Severity.Info,
|
|
138
138
|
message,
|
|
139
|
-
primaryButton: ( localize(
|
|
140
|
-
cancelButton: ( localize(
|
|
139
|
+
primaryButton: ( localize(2358, "Show &&Preview")),
|
|
140
|
+
cancelButton: ( localize(2359, "Skip Changes"))
|
|
141
141
|
});
|
|
142
142
|
showPreview = true;
|
|
143
143
|
if (!confirmed) {
|
|
@@ -156,19 +156,19 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
156
156
|
message,
|
|
157
157
|
buttons: [
|
|
158
158
|
{
|
|
159
|
-
label: ( localize(
|
|
159
|
+
label: ( localize(2360, "&&OK")),
|
|
160
160
|
run: () => Choice.OK
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
label: ( localize(
|
|
163
|
+
label: ( localize(2358, "Show &&Preview")),
|
|
164
164
|
run: () => Choice.Preview
|
|
165
165
|
}
|
|
166
166
|
],
|
|
167
167
|
cancelButton: {
|
|
168
|
-
label: ( localize(
|
|
168
|
+
label: ( localize(2359, "Skip Changes")),
|
|
169
169
|
run: () => Choice.Cancel
|
|
170
170
|
},
|
|
171
|
-
checkbox: { label: ( localize(
|
|
171
|
+
checkbox: { label: ( localize(2361, "Do not ask me again")) }
|
|
172
172
|
});
|
|
173
173
|
if (result === Choice.Cancel) {
|
|
174
174
|
return;
|
|
@@ -185,15 +185,15 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
185
185
|
_progressLabel(operation) {
|
|
186
186
|
switch (operation) {
|
|
187
187
|
case FileOperation.CREATE:
|
|
188
|
-
return localize(
|
|
188
|
+
return localize(2362, "Running 'File Create' participants...");
|
|
189
189
|
case FileOperation.MOVE:
|
|
190
|
-
return localize(
|
|
190
|
+
return localize(2363, "Running 'File Rename' participants...");
|
|
191
191
|
case FileOperation.COPY:
|
|
192
|
-
return localize(
|
|
192
|
+
return localize(2364, "Running 'File Copy' participants...");
|
|
193
193
|
case FileOperation.DELETE:
|
|
194
|
-
return localize(
|
|
194
|
+
return localize(2365, "Running 'File Delete' participants...");
|
|
195
195
|
case FileOperation.WRITE:
|
|
196
|
-
return localize(
|
|
196
|
+
return localize(2366, "Running 'File Write' participants...");
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
});
|
|
@@ -264,7 +264,7 @@ registerAction2(class ResetMemento extends Action2 {
|
|
|
264
264
|
super({
|
|
265
265
|
id: 'files.participants.resetChoice',
|
|
266
266
|
title: {
|
|
267
|
-
value: ( localize(
|
|
267
|
+
value: ( localize(2367, "Reset choice for 'File operation needs preview'")),
|
|
268
268
|
original: `Reset choice for 'File operation needs preview'`
|
|
269
269
|
},
|
|
270
270
|
f1: true
|
|
@@ -143,7 +143,7 @@ let MainThreadLanguageModels = class MainThreadLanguageModels {
|
|
|
143
143
|
if (this._authenticationService.getProviderIds().includes(authProviderId)) {
|
|
144
144
|
return Disposable.None;
|
|
145
145
|
}
|
|
146
|
-
const accountLabel = auth.accountLabel ?? ( localize(
|
|
146
|
+
const accountLabel = auth.accountLabel ?? ( localize(2368, 'Language Models'));
|
|
147
147
|
const disposables = ( new DisposableStore());
|
|
148
148
|
this._authenticationService.registerAuthenticationProvider(authProviderId, ( new LanguageModelAccessAuthProvider(authProviderId, auth.providerLabel, accountLabel)));
|
|
149
149
|
disposables.add(toDisposable(() => {
|
|
@@ -51,13 +51,13 @@ let MainThreadMessageService = class MainThreadMessageService {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
if (!source) {
|
|
54
|
-
source = ( localize(
|
|
54
|
+
source = ( localize(2369, "Extension"));
|
|
55
55
|
}
|
|
56
56
|
const secondaryActions = [];
|
|
57
57
|
if (options.source) {
|
|
58
58
|
secondaryActions.push(toAction({
|
|
59
59
|
id: options.source.identifier.value,
|
|
60
|
-
label: ( localize(
|
|
60
|
+
label: ( localize(2370, "Manage Extension")),
|
|
61
61
|
run: () => {
|
|
62
62
|
return this._commandService.executeCommand('_extensions.manage', options.source.identifier.value);
|
|
63
63
|
}
|
|
@@ -92,13 +92,13 @@ let MainThreadMessageService = class MainThreadMessageService {
|
|
|
92
92
|
if (!cancelButton) {
|
|
93
93
|
if (buttons.length > 0) {
|
|
94
94
|
cancelButton = {
|
|
95
|
-
label: ( localize(
|
|
95
|
+
label: ( localize(2371, "Cancel")),
|
|
96
96
|
run: () => undefined
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
100
100
|
cancelButton = {
|
|
101
|
-
label: ( localize(
|
|
101
|
+
label: ( localize(2372, "&&OK")),
|
|
102
102
|
run: () => undefined
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -18,7 +18,7 @@ class ExtHostNotebookDocumentSaveParticipant {
|
|
|
18
18
|
}
|
|
19
19
|
let _warningTimeout;
|
|
20
20
|
const p = ( new Promise((resolve, reject) => {
|
|
21
|
-
_warningTimeout = setTimeout(() => reject(( new Error(( localize(
|
|
21
|
+
_warningTimeout = setTimeout(() => reject(( new Error(( localize(2373, "Aborted onWillSaveNotebookDocument-event after 1750ms"))))), 1750);
|
|
22
22
|
this._proxy.$participateInSave(workingCopy.resource, context.reason, token).then(_ => {
|
|
23
23
|
clearTimeout(_warningTimeout);
|
|
24
24
|
return undefined;
|
|
@@ -69,11 +69,11 @@ let MainThreadOutputService = class MainThreadOutputService extends Disposable {
|
|
|
69
69
|
}
|
|
70
70
|
_showChannelQuietly(channel) {
|
|
71
71
|
const statusProperties = {
|
|
72
|
-
name: ( localize(
|
|
72
|
+
name: ( localize(2374, "Show Output")),
|
|
73
73
|
text: '$(output)',
|
|
74
|
-
ariaLabel: ( localize(
|
|
74
|
+
ariaLabel: ( localize(2375, "Show {0} Output Channel", channel.label)),
|
|
75
75
|
command: `workbench.action.output.show.${channel.id}`,
|
|
76
|
-
tooltip: ( localize(
|
|
76
|
+
tooltip: ( localize(2376, "Show {0} Output Channel", channel.label)),
|
|
77
77
|
kind: 'prominent'
|
|
78
78
|
};
|
|
79
79
|
if (!this._outputStatusItem.value) {
|
|
@@ -28,7 +28,7 @@ let MainThreadProgress = class MainThreadProgress {
|
|
|
28
28
|
location: ProgressLocation.Notification,
|
|
29
29
|
secondaryActions: [toAction({
|
|
30
30
|
id: extensionId,
|
|
31
|
-
label: ( localize(
|
|
31
|
+
label: ( localize(2377, "Manage Extension")),
|
|
32
32
|
run: () => this._commandService.executeCommand('_extensions.manage', extensionId)
|
|
33
33
|
})]
|
|
34
34
|
};
|
|
@@ -17,7 +17,7 @@ class ExtHostSaveParticipant {
|
|
|
17
17
|
return undefined;
|
|
18
18
|
}
|
|
19
19
|
const p = ( new Promise((resolve, reject) => {
|
|
20
|
-
setTimeout(() => reject(( new Error(( localize(
|
|
20
|
+
setTimeout(() => reject(( new Error(( localize(2378, "Aborted onWillSaveTextDocument-event after 1750ms"))))), 1750);
|
|
21
21
|
this._proxy.$participateInSave(editorModel.resource, context.reason).then(values => {
|
|
22
22
|
if (!values.every(success => success)) {
|
|
23
23
|
return Promise.reject(( new Error('listener failed')));
|
|
@@ -378,7 +378,7 @@ var TaskDTO;
|
|
|
378
378
|
}
|
|
379
379
|
command.presentation = TaskPresentationOptionsDTO.to(task.presentationOptions);
|
|
380
380
|
const source = TaskSourceDTO.to(task.source, workspace);
|
|
381
|
-
const label = ( localize(
|
|
381
|
+
const label = ( localize(2379, '{0}: {1}', source.label, task.name));
|
|
382
382
|
const definition = TaskDefinitionDTO.to(task.definition, executeOnly);
|
|
383
383
|
const id = (CustomExecutionDTO.is(task.execution) && task._id) ? task._id : `${task.source.extensionId}.${definition._key}`;
|
|
384
384
|
const result = ( new ContributedTask(
|
|
@@ -112,13 +112,13 @@ let MainThreadTunnelService = class MainThreadTunnelService extends Disposable {
|
|
|
112
112
|
}
|
|
113
113
|
async elevationPrompt(tunnelOptions, tunnel, source) {
|
|
114
114
|
return this.notificationService.prompt(Severity.Info, ( localize(
|
|
115
|
-
|
|
115
|
+
2380,
|
|
116
116
|
"The extension {0} has forwarded port {1}. You'll need to run as superuser to use port {2} locally.",
|
|
117
117
|
source,
|
|
118
118
|
tunnelOptions.remoteAddress.port,
|
|
119
119
|
tunnelOptions.localAddressPort
|
|
120
120
|
)), [{
|
|
121
|
-
label: ( localize(
|
|
121
|
+
label: ( localize(2381, "Use Port {0} as Sudo...", tunnel.tunnelRemotePort)),
|
|
122
122
|
run: async () => {
|
|
123
123
|
this.elevateionRetry = true;
|
|
124
124
|
await this.remoteExplorerService.close({ host: tunnel.tunnelRemoteHost, port: tunnel.tunnelRemotePort }, TunnelCloseReason.Other);
|
|
@@ -52,7 +52,7 @@ let MainThreadUriOpeners = class MainThreadUriOpeners extends Disposable {
|
|
|
52
52
|
}
|
|
53
53
|
catch (e) {
|
|
54
54
|
if (!isCancellationError(e)) {
|
|
55
|
-
const openDefaultAction = ( new Action('default', ( localize(
|
|
55
|
+
const openDefaultAction = ( new Action('default', ( localize(2382, "Open using default opener")), undefined, undefined, async () => {
|
|
56
56
|
await this.openerService.open(uri, {
|
|
57
57
|
allowTunneling: false,
|
|
58
58
|
allowContributedOpeners: defaultExternalUriOpenerId,
|
|
@@ -61,7 +61,7 @@ let MainThreadUriOpeners = class MainThreadUriOpeners extends Disposable {
|
|
|
61
61
|
openDefaultAction.tooltip = ( uri.toString());
|
|
62
62
|
this.notificationService.notify({
|
|
63
63
|
severity: Severity.Error,
|
|
64
|
-
message: ( localize(
|
|
64
|
+
message: ( localize(2383, 'Could not open uri with \'{0}\': {1}', id, (e.toString()))),
|
|
65
65
|
actions: {
|
|
66
66
|
primary: [
|
|
67
67
|
openDefaultAction
|
|
@@ -7,7 +7,7 @@ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
|
7
7
|
import { generateUuid } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uuid';
|
|
8
8
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
9
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
10
|
-
import { DiffEditorInput } from '@codingame/monaco-vscode-
|
|
10
|
+
import { DiffEditorInput } from '@codingame/monaco-vscode-fdf643f9-94dd-5510-b97a-408abf26ad92-common/vscode/vs/workbench/common/editor/diffEditorInput';
|
|
11
11
|
import { ExtensionKeyedWebviewOriginStore } from '@codingame/monaco-vscode-7ba0af96-90c2-5e11-ad7f-befdbbf246c8-common/vscode/vs/workbench/contrib/webview/browser/webview';
|
|
12
12
|
import { WebviewInput } from '@codingame/monaco-vscode-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput';
|
|
13
13
|
import { IWebviewWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service';
|
|
@@ -104,7 +104,7 @@ let MainThreadWebviews = class MainThreadWebviews extends Disposable {
|
|
|
104
104
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
|
105
105
|
<meta http-equiv="Content-Security-Policy" content="default-src 'none';">
|
|
106
106
|
</head>
|
|
107
|
-
<body>${( localize(
|
|
107
|
+
<body>${( localize(2384, "An error occurred while loading view: {0}", escape(viewType)))}</body>
|
|
108
108
|
</html>`;
|
|
109
109
|
}
|
|
110
110
|
};
|
|
@@ -81,11 +81,11 @@ let MainThreadWorkspace = class MainThreadWorkspace {
|
|
|
81
81
|
const wantsToDelete = removeCount > 0;
|
|
82
82
|
if (wantsToAdd && !wantsToDelete) {
|
|
83
83
|
if (addCount === 1) {
|
|
84
|
-
message = ( localize(
|
|
84
|
+
message = ( localize(2385, "Extension '{0}' added 1 folder to the workspace", extensionName));
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
87
87
|
message = ( localize(
|
|
88
|
-
|
|
88
|
+
2386,
|
|
89
89
|
"Extension '{0}' added {1} folders to the workspace",
|
|
90
90
|
extensionName,
|
|
91
91
|
addCount
|
|
@@ -94,11 +94,11 @@ let MainThreadWorkspace = class MainThreadWorkspace {
|
|
|
94
94
|
}
|
|
95
95
|
else if (wantsToDelete && !wantsToAdd) {
|
|
96
96
|
if (removeCount === 1) {
|
|
97
|
-
message = ( localize(
|
|
97
|
+
message = ( localize(2387, "Extension '{0}' removed 1 folder from the workspace", extensionName));
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
100
100
|
message = ( localize(
|
|
101
|
-
|
|
101
|
+
2388,
|
|
102
102
|
"Extension '{0}' removed {1} folders from the workspace",
|
|
103
103
|
extensionName,
|
|
104
104
|
removeCount
|
|
@@ -106,7 +106,7 @@ let MainThreadWorkspace = class MainThreadWorkspace {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
else {
|
|
109
|
-
message = ( localize(
|
|
109
|
+
message = ( localize(2389, "Extension '{0}' changed folders of the workspace", extensionName));
|
|
110
110
|
}
|
|
111
111
|
return message;
|
|
112
112
|
}
|
|
@@ -49,7 +49,7 @@ let CustomTextEditorModel = CustomTextEditorModel_1 = class CustomTextEditorMode
|
|
|
49
49
|
}));
|
|
50
50
|
this._register(extensionService.onWillStop(e => {
|
|
51
51
|
e.veto(true, ( localize(
|
|
52
|
-
|
|
52
|
+
5185,
|
|
53
53
|
"An extension provided text editor for '{0}' is still open that would close otherwise.",
|
|
54
54
|
this.name
|
|
55
55
|
)));
|
|
@@ -140,11 +140,11 @@ let ExtensionBisectUi = class ExtensionBisectUi {
|
|
|
140
140
|
}
|
|
141
141
|
_showBisectPrompt() {
|
|
142
142
|
const goodPrompt = {
|
|
143
|
-
label: ( localize(
|
|
143
|
+
label: ( localize(11732, "I can't reproduce")),
|
|
144
144
|
run: () => this._commandService.executeCommand('extension.bisect.next', false)
|
|
145
145
|
};
|
|
146
146
|
const badPrompt = {
|
|
147
|
-
label: ( localize(
|
|
147
|
+
label: ( localize(11733, "I can reproduce")),
|
|
148
148
|
run: () => this._commandService.executeCommand('extension.bisect.next', true)
|
|
149
149
|
};
|
|
150
150
|
const stop = {
|
|
@@ -153,11 +153,11 @@ let ExtensionBisectUi = class ExtensionBisectUi {
|
|
|
153
153
|
};
|
|
154
154
|
const message = this._extensionBisectService.disabledCount === 1
|
|
155
155
|
? ( localize(
|
|
156
|
-
|
|
156
|
+
11734,
|
|
157
157
|
"Extension Bisect is active and has disabled 1 extension. Check if you can still reproduce the problem and proceed by selecting from these options."
|
|
158
158
|
))
|
|
159
159
|
: ( localize(
|
|
160
|
-
|
|
160
|
+
11735,
|
|
161
161
|
"Extension Bisect is active and has disabled {0} extensions. Check if you can still reproduce the problem and proceed by selecting from these options.",
|
|
162
162
|
this._extensionBisectService.disabledCount
|
|
163
163
|
));
|
|
@@ -175,7 +175,7 @@ registerAction2(class extends Action2 {
|
|
|
175
175
|
constructor() {
|
|
176
176
|
super({
|
|
177
177
|
id: 'extension.bisect.start',
|
|
178
|
-
title: ( localize2(
|
|
178
|
+
title: ( localize2(11736, 'Start Extension Bisect')),
|
|
179
179
|
category: Categories.Help,
|
|
180
180
|
f1: true,
|
|
181
181
|
precondition: ( ExtensionBisectUi.ctxIsBisectActive.negate()),
|
|
@@ -195,13 +195,13 @@ registerAction2(class extends Action2 {
|
|
|
195
195
|
const extensionsBisect = accessor.get(IExtensionBisectService);
|
|
196
196
|
const extensions = (await extensionManagement.getInstalled(ExtensionType.User)).filter(ext => extensionEnablementService.isEnabled(ext));
|
|
197
197
|
const res = await dialogService.confirm({
|
|
198
|
-
message: ( localize(
|
|
198
|
+
message: ( localize(11737, "Extension Bisect")),
|
|
199
199
|
detail: ( localize(
|
|
200
|
-
|
|
200
|
+
11738,
|
|
201
201
|
"Extension Bisect will use binary search to find an extension that causes a problem. During the process the window reloads repeatedly (~{0} times). Each time you must confirm if you are still seeing problems.",
|
|
202
202
|
2 + Math.log2(extensions.length) | 0
|
|
203
203
|
)),
|
|
204
|
-
primaryButton: ( localize(
|
|
204
|
+
primaryButton: ( localize(11739, "&&Start Extension Bisect"))
|
|
205
205
|
});
|
|
206
206
|
if (res.confirmed) {
|
|
207
207
|
await extensionsBisect.start(extensions);
|
|
@@ -213,7 +213,7 @@ registerAction2(class extends Action2 {
|
|
|
213
213
|
constructor() {
|
|
214
214
|
super({
|
|
215
215
|
id: 'extension.bisect.next',
|
|
216
|
-
title: ( localize2(
|
|
216
|
+
title: ( localize2(11740, 'Continue Extension Bisect')),
|
|
217
217
|
category: Categories.Help,
|
|
218
218
|
f1: true,
|
|
219
219
|
precondition: ExtensionBisectUi.ctxIsBisectActive
|
|
@@ -247,8 +247,8 @@ registerAction2(class extends Action2 {
|
|
|
247
247
|
return;
|
|
248
248
|
}
|
|
249
249
|
if (done.bad) {
|
|
250
|
-
await dialogService.info(( localize(
|
|
251
|
-
|
|
250
|
+
await dialogService.info(( localize(11741, "Extension Bisect")), ( localize(
|
|
251
|
+
11742,
|
|
252
252
|
"Extension Bisect is done but no extension has been identified. This might be a problem with {0}.",
|
|
253
253
|
productService.nameShort
|
|
254
254
|
)));
|
|
@@ -256,15 +256,15 @@ registerAction2(class extends Action2 {
|
|
|
256
256
|
else {
|
|
257
257
|
const res = await dialogService.confirm({
|
|
258
258
|
type: Severity.Info,
|
|
259
|
-
message: ( localize(
|
|
260
|
-
primaryButton: ( localize(
|
|
261
|
-
cancelButton: ( localize(
|
|
259
|
+
message: ( localize(11741, "Extension Bisect")),
|
|
260
|
+
primaryButton: ( localize(11743, "&&Report Issue & Continue")),
|
|
261
|
+
cancelButton: ( localize(11744, "Continue")),
|
|
262
262
|
detail: ( localize(
|
|
263
|
-
|
|
263
|
+
11745,
|
|
264
264
|
"Extension Bisect is done and has identified {0} as the extension causing the problem.",
|
|
265
265
|
done.id
|
|
266
266
|
)),
|
|
267
|
-
checkbox: { label: ( localize(
|
|
267
|
+
checkbox: { label: ( localize(11746, "Keep this extension disabled")), checked: true }
|
|
268
268
|
});
|
|
269
269
|
if (res.checkboxChecked) {
|
|
270
270
|
await extensionEnablementService.disableExtension({ id: done.id }, undefined);
|
|
@@ -279,28 +279,28 @@ registerAction2(class extends Action2 {
|
|
|
279
279
|
async _checkForBad(dialogService, bisectService) {
|
|
280
280
|
const { result } = await dialogService.prompt({
|
|
281
281
|
type: Severity.Info,
|
|
282
|
-
message: ( localize(
|
|
282
|
+
message: ( localize(11747, "Extension Bisect")),
|
|
283
283
|
detail: ( localize(
|
|
284
|
-
|
|
284
|
+
11748,
|
|
285
285
|
"Extension Bisect is active and has disabled {0} extensions. Check if you can still reproduce the problem and proceed by selecting from these options.",
|
|
286
286
|
bisectService.disabledCount
|
|
287
287
|
)),
|
|
288
288
|
buttons: [
|
|
289
289
|
{
|
|
290
|
-
label: ( localize(
|
|
290
|
+
label: ( localize(11749, "I ca&&n't reproduce")),
|
|
291
291
|
run: () => false
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
|
-
label: ( localize(
|
|
294
|
+
label: ( localize(11750, "I can &&reproduce")),
|
|
295
295
|
run: () => true
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
|
-
label: ( localize(
|
|
298
|
+
label: ( localize(11751, "&&Stop Bisect")),
|
|
299
299
|
run: () => undefined
|
|
300
300
|
}
|
|
301
301
|
],
|
|
302
302
|
cancelButton: {
|
|
303
|
-
label: ( localize(
|
|
303
|
+
label: ( localize(11752, "&&Cancel Bisect")),
|
|
304
304
|
run: () => null
|
|
305
305
|
}
|
|
306
306
|
});
|
|
@@ -311,7 +311,7 @@ registerAction2(class extends Action2 {
|
|
|
311
311
|
constructor() {
|
|
312
312
|
super({
|
|
313
313
|
id: 'extension.bisect.stop',
|
|
314
|
-
title: ( localize2(
|
|
314
|
+
title: ( localize2(11753, 'Stop Extension Bisect')),
|
|
315
315
|
category: Categories.Help,
|
|
316
316
|
f1: true,
|
|
317
317
|
precondition: ExtensionBisectUi.ctxIsBisectActive
|
|
@@ -181,14 +181,14 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
181
181
|
}
|
|
182
182
|
}, {
|
|
183
183
|
id: 'join.disconnectRemote',
|
|
184
|
-
label: ( localize(
|
|
184
|
+
label: ( localize(11833, "Disconnect Remote Agent")),
|
|
185
185
|
order: WillShutdownJoinerOrder.Last
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
else {
|
|
189
189
|
event.join(this._doStopExtensionHosts(), {
|
|
190
190
|
id: 'join.stopExtensionHosts',
|
|
191
|
-
label: ( localize(
|
|
191
|
+
label: ( localize(11834, "Stopping Extension Hosts")),
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
194
|
}));
|
|
@@ -259,7 +259,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
259
259
|
this._notificationService.notify({
|
|
260
260
|
severity: Severity.Error,
|
|
261
261
|
message: ( localize(
|
|
262
|
-
|
|
262
|
+
11835,
|
|
263
263
|
"The following extensions contain dependency loops and have been disabled: {0}",
|
|
264
264
|
( result.removedDueToLooping.map(e => `'${e.identifier.value}'`)).join(', ')
|
|
265
265
|
))
|
|
@@ -440,7 +440,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
440
440
|
this._notificationService.notify({
|
|
441
441
|
severity: Severity.Error,
|
|
442
442
|
message: ( localize(
|
|
443
|
-
|
|
443
|
+
11835,
|
|
444
444
|
"The following extensions contain dependency loops and have been disabled: {0}",
|
|
445
445
|
( result.removedDueToLooping.map(e => `'${e.identifier.value}'`)).join(', ')
|
|
446
446
|
))
|
|
@@ -455,7 +455,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
455
455
|
const extensionHostManager = this.findTestExtensionHost(this._environmentService.extensionTestsLocationURI);
|
|
456
456
|
if (!extensionHostManager) {
|
|
457
457
|
const msg = ( localize(
|
|
458
|
-
|
|
458
|
+
11836,
|
|
459
459
|
"No extension host found that can launch the test runner at {0}.",
|
|
460
460
|
(this._environmentService.extensionTestsLocationURI.toString())
|
|
461
461
|
));
|
|
@@ -625,7 +625,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
625
625
|
vetoReasons.add(reason);
|
|
626
626
|
}
|
|
627
627
|
}).catch(error => {
|
|
628
|
-
vetoReasons.add(( localize(
|
|
628
|
+
vetoReasons.add(( localize(11837, "{0} (Error: {1})", reason, toErrorMessage(error))));
|
|
629
629
|
});
|
|
630
630
|
}
|
|
631
631
|
}
|
|
@@ -640,11 +640,11 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
640
640
|
this._logService.warn(`Extension host was not stopped because of veto (stop reason: ${reason}, veto reason: ${vetoReasonsArray.join(', ')})`);
|
|
641
641
|
const { confirmed } = await this._dialogService.confirm({
|
|
642
642
|
type: Severity.Warning,
|
|
643
|
-
message: ( localize(
|
|
643
|
+
message: ( localize(11838, "Please confirm restart of extensions.")),
|
|
644
644
|
detail: vetoReasonsArray.length === 1 ?
|
|
645
645
|
vetoReasonsArray[0] :
|
|
646
646
|
vetoReasonsArray.join('\n -'),
|
|
647
|
-
primaryButton: ( localize(
|
|
647
|
+
primaryButton: ( localize(11839, "Restart Anyway"))
|
|
648
648
|
});
|
|
649
649
|
if (confirmed) {
|
|
650
650
|
return true;
|
|
@@ -741,15 +741,15 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
741
741
|
this._remoteCrashTracker.registerCrash();
|
|
742
742
|
if (this._remoteCrashTracker.shouldAutomaticallyRestart()) {
|
|
743
743
|
this._logService.info(`Automatically restarting the remote extension host.`);
|
|
744
|
-
this._notificationService.status(( localize(
|
|
744
|
+
this._notificationService.status(( localize(11840, "The remote extension host terminated unexpectedly. Restarting...")), { hideAfter: 5000 });
|
|
745
745
|
this._startExtensionHostsIfNecessary(false, Array.from(( this._allRequestedActivateEvents.keys())));
|
|
746
746
|
}
|
|
747
747
|
else {
|
|
748
748
|
this._notificationService.prompt(Severity.Error, ( localize(
|
|
749
|
-
|
|
749
|
+
11841,
|
|
750
750
|
"Remote Extension host terminated unexpectedly 3 times within the last 5 minutes."
|
|
751
751
|
)), [{
|
|
752
|
-
label: ( localize(
|
|
752
|
+
label: ( localize(11842, "Restart Remote Extension Host")),
|
|
753
753
|
run: () => {
|
|
754
754
|
this._startExtensionHostsIfNecessary(false, Array.from(( this._allRequestedActivateEvents.keys())));
|
|
755
755
|
}
|
|
@@ -1240,7 +1240,7 @@ class ActivationFeatureMarkdowneRenderer extends Disposable {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
1242
1242
|
id: 'activationEvents',
|
|
1243
|
-
label: ( localize(
|
|
1243
|
+
label: ( localize(11843, "Activation Events")),
|
|
1244
1244
|
access: {
|
|
1245
1245
|
canToggle: false
|
|
1246
1246
|
},
|
|
@@ -479,7 +479,7 @@ registerAction2(class MeasureExtHostLatencyAction extends Action2 {
|
|
|
479
479
|
constructor() {
|
|
480
480
|
super({
|
|
481
481
|
id: 'editor.action.measureExtHostLatency',
|
|
482
|
-
title: ( localize2(
|
|
482
|
+
title: ( localize2(11844, "Measure Extension Host Latency")),
|
|
483
483
|
category: Categories.Developer,
|
|
484
484
|
f1: true
|
|
485
485
|
});
|
|
@@ -106,7 +106,7 @@ class ApiProposalsMarkdowneRenderer extends Disposable {
|
|
|
106
106
|
}
|
|
107
107
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
108
108
|
id: 'enabledApiProposals',
|
|
109
|
-
label: ( localize(
|
|
109
|
+
label: ( localize(11845, "API Proposals")),
|
|
110
110
|
access: {
|
|
111
111
|
canToggle: false
|
|
112
112
|
},
|
|
@@ -9,7 +9,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
|
|
|
9
9
|
const extension = result.get(systemExtension.identifier);
|
|
10
10
|
if (extension) {
|
|
11
11
|
logService.warn(( localize(
|
|
12
|
-
|
|
12
|
+
11929,
|
|
13
13
|
"Overwriting extension {0} with {1}.",
|
|
14
14
|
extension.extensionLocation.fsPath,
|
|
15
15
|
systemExtension.extensionLocation.fsPath
|
|
@@ -29,7 +29,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
|
|
|
29
29
|
}
|
|
30
30
|
else {
|
|
31
31
|
logService.warn(( localize(
|
|
32
|
-
|
|
32
|
+
11929,
|
|
33
33
|
"Overwriting extension {0} with {1}.",
|
|
34
34
|
extension.extensionLocation.fsPath,
|
|
35
35
|
userExtension.extensionLocation.fsPath
|
|
@@ -46,7 +46,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
|
|
|
46
46
|
const extension = result.get(workspaceExtension.identifier);
|
|
47
47
|
if (extension) {
|
|
48
48
|
logService.warn(( localize(
|
|
49
|
-
|
|
49
|
+
11930,
|
|
50
50
|
"Overwriting {0} with Workspace Extension {1}.",
|
|
51
51
|
extension.extensionLocation.fsPath,
|
|
52
52
|
workspaceExtension.extensionLocation.fsPath
|
|
@@ -56,7 +56,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
|
|
|
56
56
|
});
|
|
57
57
|
development.forEach(developedExtension => {
|
|
58
58
|
logService.info(( localize(
|
|
59
|
-
|
|
59
|
+
11931,
|
|
60
60
|
"Loading development extension at {0}",
|
|
61
61
|
developedExtension.extensionLocation.fsPath
|
|
62
62
|
)));
|