@codingame/monaco-vscode-api 22.1.5 → 22.1.7
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/missing-services.js +19 -29
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +9 -9
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.d.ts +0 -37
package/missing-services.js
CHANGED
|
@@ -152,8 +152,8 @@ import { IMcpService, IMcpWorkbenchService, IMcpSamplingService, IMcpElicitation
|
|
|
152
152
|
import { IMultiDiffSourceResolverService } from './vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.js';
|
|
153
153
|
import { INotebookOriginalCellModelFactory } from './vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.service.js';
|
|
154
154
|
import { INotebookOriginalModelReferenceFactory } from './vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.service.js';
|
|
155
|
-
import { INotebookCellOutlineDataSourceFactory } from './vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service.js';
|
|
156
155
|
import { INotebookEditorService } from './vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.js';
|
|
156
|
+
import { INotebookCellOutlineDataSourceFactory } from './vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service.js';
|
|
157
157
|
import { INotebookCellStatusBarService } from './vscode/src/vs/workbench/contrib/notebook/common/notebookCellStatusBarService.service.js';
|
|
158
158
|
import { INotebookEditorModelResolverService } from './vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service.js';
|
|
159
159
|
import { INotebookExecutionService } from './vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.js';
|
|
@@ -298,6 +298,7 @@ import { IChatLayoutService } from './vscode/src/vs/workbench/contrib/chat/commo
|
|
|
298
298
|
import { IChatModeService } from './vscode/src/vs/workbench/contrib/chat/common/chatModes.service.js';
|
|
299
299
|
import { IAiEditTelemetryService } from './vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js';
|
|
300
300
|
import { LazyCollectionState } from './vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js';
|
|
301
|
+
import { INotebookOutlineEntryFactory } from './vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.service.js';
|
|
301
302
|
import { ChatEntitlement } from './vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js';
|
|
302
303
|
import { IInlineCompletionsUnificationService } from './vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js';
|
|
303
304
|
import { getBuiltInExtensionTranslationsUris, getExtensionIdProvidingCurrentLocale } from './l10n.js';
|
|
@@ -4218,26 +4219,26 @@ class QuickChatAgentService {
|
|
|
4218
4219
|
this._serviceBrand = undefined;
|
|
4219
4220
|
this.hasToolsAgent = false;
|
|
4220
4221
|
this.registerChatParticipantDetectionProvider = unsupported;
|
|
4221
|
-
this.detectAgentOrCommand =
|
|
4222
|
+
this.detectAgentOrCommand = async () => undefined;
|
|
4222
4223
|
this.hasChatParticipantDetectionProviders = () => false;
|
|
4223
|
-
this.getChatTitle =
|
|
4224
|
+
this.getChatTitle = async () => undefined;
|
|
4224
4225
|
this.agentHasDupeName = () => false;
|
|
4225
4226
|
this.registerAgentCompletionProvider = unsupported;
|
|
4226
|
-
this.getAgentCompletionItems =
|
|
4227
|
-
this.getAgentByFullyQualifiedId =
|
|
4227
|
+
this.getAgentCompletionItems = async () => [];
|
|
4228
|
+
this.getAgentByFullyQualifiedId = () => undefined;
|
|
4228
4229
|
this.getContributedDefaultAgent = () => undefined;
|
|
4229
4230
|
this.registerAgentImplementation = unsupported;
|
|
4230
4231
|
this.registerDynamicAgent = unsupported;
|
|
4231
4232
|
this.getActivatedAgents = () => [];
|
|
4232
4233
|
this.getAgentsByName = () => [];
|
|
4233
|
-
this.getFollowups =
|
|
4234
|
+
this.getFollowups = async () => [];
|
|
4234
4235
|
this.getDefaultAgent = () => undefined;
|
|
4235
4236
|
this.updateAgent = unsupported;
|
|
4236
4237
|
this.onDidChangeAgents = Event.None;
|
|
4237
4238
|
this.registerAgent = unsupported;
|
|
4238
4239
|
this.invokeAgent = unsupported;
|
|
4239
|
-
this.getAgents =
|
|
4240
|
-
this.getAgent =
|
|
4240
|
+
this.getAgents = () => [];
|
|
4241
|
+
this.getAgent = () => undefined;
|
|
4241
4242
|
this.getChatSummary = async () => undefined;
|
|
4242
4243
|
this.setRequestTools = unsupported;
|
|
4243
4244
|
}
|
|
@@ -4245,30 +4246,15 @@ class QuickChatAgentService {
|
|
|
4245
4246
|
__decorate([
|
|
4246
4247
|
Unsupported
|
|
4247
4248
|
], QuickChatAgentService.prototype, "registerChatParticipantDetectionProvider", void 0);
|
|
4248
|
-
__decorate([
|
|
4249
|
-
Unsupported
|
|
4250
|
-
], QuickChatAgentService.prototype, "detectAgentOrCommand", void 0);
|
|
4251
|
-
__decorate([
|
|
4252
|
-
Unsupported
|
|
4253
|
-
], QuickChatAgentService.prototype, "getChatTitle", void 0);
|
|
4254
4249
|
__decorate([
|
|
4255
4250
|
Unsupported
|
|
4256
4251
|
], QuickChatAgentService.prototype, "registerAgentCompletionProvider", void 0);
|
|
4257
|
-
__decorate([
|
|
4258
|
-
Unsupported
|
|
4259
|
-
], QuickChatAgentService.prototype, "getAgentCompletionItems", void 0);
|
|
4260
|
-
__decorate([
|
|
4261
|
-
Unsupported
|
|
4262
|
-
], QuickChatAgentService.prototype, "getAgentByFullyQualifiedId", void 0);
|
|
4263
4252
|
__decorate([
|
|
4264
4253
|
Unsupported
|
|
4265
4254
|
], QuickChatAgentService.prototype, "registerAgentImplementation", void 0);
|
|
4266
4255
|
__decorate([
|
|
4267
4256
|
Unsupported
|
|
4268
4257
|
], QuickChatAgentService.prototype, "registerDynamicAgent", void 0);
|
|
4269
|
-
__decorate([
|
|
4270
|
-
Unsupported
|
|
4271
|
-
], QuickChatAgentService.prototype, "getFollowups", void 0);
|
|
4272
4258
|
__decorate([
|
|
4273
4259
|
Unsupported
|
|
4274
4260
|
], QuickChatAgentService.prototype, "updateAgent", void 0);
|
|
@@ -4278,12 +4264,6 @@ __decorate([
|
|
|
4278
4264
|
__decorate([
|
|
4279
4265
|
Unsupported
|
|
4280
4266
|
], QuickChatAgentService.prototype, "invokeAgent", void 0);
|
|
4281
|
-
__decorate([
|
|
4282
|
-
Unsupported
|
|
4283
|
-
], QuickChatAgentService.prototype, "getAgents", void 0);
|
|
4284
|
-
__decorate([
|
|
4285
|
-
Unsupported
|
|
4286
|
-
], QuickChatAgentService.prototype, "getAgent", void 0);
|
|
4287
4267
|
__decorate([
|
|
4288
4268
|
Unsupported
|
|
4289
4269
|
], QuickChatAgentService.prototype, "setRequestTools", void 0);
|
|
@@ -6975,6 +6955,16 @@ __decorate([
|
|
|
6975
6955
|
Unsupported
|
|
6976
6956
|
], NotebookCellOutlineDataSourceFactory.prototype, "getOrCreate", void 0);
|
|
6977
6957
|
registerSingleton(INotebookCellOutlineDataSourceFactory, NotebookCellOutlineDataSourceFactory, InstantiationType.Delayed);
|
|
6958
|
+
class NotebookOutlineEntryFactory {
|
|
6959
|
+
constructor() {
|
|
6960
|
+
this.getOutlineEntries = () => [];
|
|
6961
|
+
this.cacheSymbols = unsupported;
|
|
6962
|
+
}
|
|
6963
|
+
}
|
|
6964
|
+
__decorate([
|
|
6965
|
+
Unsupported
|
|
6966
|
+
], NotebookOutlineEntryFactory.prototype, "cacheSymbols", void 0);
|
|
6967
|
+
registerSingleton(INotebookOutlineEntryFactory, NotebookOutlineEntryFactory, InstantiationType.Delayed);
|
|
6978
6968
|
class QuickDiffModelService {
|
|
6979
6969
|
constructor() {
|
|
6980
6970
|
this.createQuickDiffModelReference = () => undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "22.1.
|
|
3
|
+
"version": "22.1.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-base-service-override": "22.1.
|
|
19
|
-
"@codingame/monaco-vscode-environment-service-override": "22.1.
|
|
20
|
-
"@codingame/monaco-vscode-extensions-service-override": "22.1.
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "22.1.
|
|
22
|
-
"@codingame/monaco-vscode-host-service-override": "22.1.
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "22.1.
|
|
24
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "22.1.
|
|
18
|
+
"@codingame/monaco-vscode-base-service-override": "22.1.7",
|
|
19
|
+
"@codingame/monaco-vscode-environment-service-override": "22.1.7",
|
|
20
|
+
"@codingame/monaco-vscode-extensions-service-override": "22.1.7",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "22.1.7",
|
|
22
|
+
"@codingame/monaco-vscode-host-service-override": "22.1.7",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "22.1.7",
|
|
24
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "22.1.7",
|
|
25
25
|
"@vscode/iconv-lite-umd": "0.7.0",
|
|
26
26
|
"dompurify": "3.2.7",
|
|
27
27
|
"jschardet": "3.1.4",
|
package/services.js
CHANGED
|
@@ -403,10 +403,10 @@ export { IInlineCompletionsUnificationService } from './vscode/src/vs/workbench/
|
|
|
403
403
|
export { IMcpGalleryManifestService } from './vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js';
|
|
404
404
|
export { IDataChannelService } from './vscode/src/vs/platform/dataChannel/common/dataChannel.service.js';
|
|
405
405
|
|
|
406
|
-
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.105.0-
|
|
407
|
-
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.105.0-
|
|
406
|
+
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.105.0-dece340c-840a-4b42-acb9-7629d07ec3e3") {
|
|
407
|
+
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.105.0-dece340c-840a-4b42-acb9-7629d07ec3e3"}, ${window.monacoVscodeApiBuildId} is already loaded`);
|
|
408
408
|
}
|
|
409
|
-
window.monacoVscodeApiBuildId = "1.105.0-
|
|
409
|
+
window.monacoVscodeApiBuildId = "1.105.0-dece340c-840a-4b42-acb9-7629d07ec3e3";
|
|
410
410
|
function registerCommands(options) {
|
|
411
411
|
function asMenuId(menu) {
|
|
412
412
|
switch (menu) {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
2
|
+
import { ICellViewModel } from "@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
3
|
+
import { OutlineEntry } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry";
|
|
4
|
+
export declare const INotebookOutlineEntryFactory: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookOutlineEntryFactory>;
|
|
5
|
+
export interface INotebookOutlineEntryFactory {
|
|
6
|
+
readonly _serviceBrand: undefined;
|
|
7
|
+
getOutlineEntries(cell: ICellViewModel, index: number): OutlineEntry[];
|
|
8
|
+
cacheSymbols(cell: ICellViewModel, cancelToken: CancellationToken): Promise<void>;
|
|
9
|
+
}
|
|
@@ -27,7 +27,7 @@ class SnippetCompletion {
|
|
|
27
27
|
constructor(snippet, range) {
|
|
28
28
|
this.snippet = snippet;
|
|
29
29
|
this.label = { label: snippet.prefix, description: snippet.name };
|
|
30
|
-
this.detail = ( localize(
|
|
30
|
+
this.detail = ( localize(10537, "{0} ({1})", snippet.description || snippet.name, snippet.source));
|
|
31
31
|
this.insertText = snippet.codeSnippet;
|
|
32
32
|
this.extensionId = snippet.extensionId;
|
|
33
33
|
this.range = range;
|
|
@@ -121,14 +121,14 @@ let SnippetCompletionProvider = class SnippetCompletionProvider {
|
|
|
121
121
|
let to = i + 1;
|
|
122
122
|
for (; to < suggestions.length && item.label === suggestions[to].label; to++) {
|
|
123
123
|
suggestions[to].label.label = ( localize(
|
|
124
|
-
|
|
124
|
+
10538,
|
|
125
125
|
"{0}, {1}",
|
|
126
126
|
suggestions[to].label.label,
|
|
127
127
|
suggestions[to].snippet.name
|
|
128
128
|
));
|
|
129
129
|
}
|
|
130
130
|
if (to > i + 1) {
|
|
131
|
-
suggestions[i].label.label = ( localize(
|
|
131
|
+
suggestions[i].label.label = ( localize(10538, "{0}, {1}", suggestions[i].label.label, suggestions[i].snippet.name));
|
|
132
132
|
i = to;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
@@ -207,14 +207,14 @@ class SnippetFile {
|
|
|
207
207
|
source = this._extension.displayName || this._extension.name;
|
|
208
208
|
}
|
|
209
209
|
else if (this.source === SnippetSource.Workspace) {
|
|
210
|
-
source = ( localize(
|
|
210
|
+
source = ( localize(10554, "Workspace Snippet"));
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
213
|
if (this.isGlobalSnippets) {
|
|
214
|
-
source = ( localize(
|
|
214
|
+
source = ( localize(10555, "Global User Snippet"));
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
217
|
-
source = ( localize(
|
|
217
|
+
source = ( localize(10556, "User Snippet"));
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
for (const _prefix of Iterable.wrap(prefix)) {
|
|
@@ -34,7 +34,7 @@ var snippetExt;
|
|
|
34
34
|
function toValidSnippet(extension, snippet, languageService) {
|
|
35
35
|
if (isFalsyOrWhitespace(snippet.path)) {
|
|
36
36
|
extension.collector.error(( localize(
|
|
37
|
-
|
|
37
|
+
10557,
|
|
38
38
|
"Expected string in `contributes.{0}.path`. Provided value: {1}",
|
|
39
39
|
extension.description.name,
|
|
40
40
|
String(snippet.path)
|
|
@@ -43,7 +43,7 @@ var snippetExt;
|
|
|
43
43
|
}
|
|
44
44
|
if (isFalsyOrWhitespace(snippet.language) && !snippet.path.endsWith('.code-snippets')) {
|
|
45
45
|
extension.collector.error(( localize(
|
|
46
|
-
|
|
46
|
+
10558,
|
|
47
47
|
"When omitting the language, the value of `contributes.{0}.path` must be a `.code-snippets`-file. Provided value: {1}",
|
|
48
48
|
extension.description.name,
|
|
49
49
|
String(snippet.path)
|
|
@@ -52,7 +52,7 @@ var snippetExt;
|
|
|
52
52
|
}
|
|
53
53
|
if (!isFalsyOrWhitespace(snippet.language) && !languageService.isRegisteredLanguageId(snippet.language)) {
|
|
54
54
|
extension.collector.error(( localize(
|
|
55
|
-
|
|
55
|
+
10559,
|
|
56
56
|
"Unknown language in `contributes.{0}.language`. Provided value: {1}",
|
|
57
57
|
extension.description.name,
|
|
58
58
|
String(snippet.language)
|
|
@@ -63,7 +63,7 @@ var snippetExt;
|
|
|
63
63
|
const snippetLocation = joinPath(extensionLocation, snippet.path);
|
|
64
64
|
if (!isEqualOrParent(snippetLocation, extensionLocation)) {
|
|
65
65
|
extension.collector.error(( localize(
|
|
66
|
-
|
|
66
|
+
10560,
|
|
67
67
|
"Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
|
|
68
68
|
extension.description.name,
|
|
69
69
|
snippetLocation.path,
|
|
@@ -78,7 +78,7 @@ var snippetExt;
|
|
|
78
78
|
}
|
|
79
79
|
snippetExt.toValidSnippet = toValidSnippet;
|
|
80
80
|
snippetExt.snippetsContribution = {
|
|
81
|
-
description: ( localize(
|
|
81
|
+
description: ( localize(10561, 'Contributes snippets.')),
|
|
82
82
|
type: 'array',
|
|
83
83
|
defaultSnippets: [{ body: [{ language: '', path: '' }] }],
|
|
84
84
|
items: {
|
|
@@ -86,12 +86,12 @@ var snippetExt;
|
|
|
86
86
|
defaultSnippets: [{ body: { language: '${1:id}', path: './snippets/${2:id}.json.' } }],
|
|
87
87
|
properties: {
|
|
88
88
|
language: {
|
|
89
|
-
description: ( localize(
|
|
89
|
+
description: ( localize(10562, 'Language identifier for which this snippet is contributed to.')),
|
|
90
90
|
type: 'string'
|
|
91
91
|
},
|
|
92
92
|
path: {
|
|
93
93
|
description: ( localize(
|
|
94
|
-
|
|
94
|
+
10563,
|
|
95
95
|
'Path of the snippets file. The path is relative to the extension folder and typically starts with \'./snippets/\'.'
|
|
96
96
|
)),
|
|
97
97
|
type: 'string'
|
|
@@ -336,14 +336,14 @@ let SnippetsService = class SnippetsService {
|
|
|
336
336
|
file.load().then(file => {
|
|
337
337
|
if (( file.data.some(snippet => snippet.isBogous))) {
|
|
338
338
|
extension.collector.warn(( localize(
|
|
339
|
-
|
|
339
|
+
10564,
|
|
340
340
|
"One or more snippets from the extension '{0}' very likely confuse snippet-variables and snippet-placeholders (see https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details)",
|
|
341
341
|
extension.description.name
|
|
342
342
|
)));
|
|
343
343
|
}
|
|
344
344
|
}, err => {
|
|
345
345
|
extension.collector.warn(( localize(
|
|
346
|
-
|
|
346
|
+
10565,
|
|
347
347
|
"The snippet file \"{0}\" could not be read.",
|
|
348
348
|
(file.location.toString())
|
|
349
349
|
)));
|
|
@@ -3,16 +3,16 @@ import { localize } from '../../../../nls.js';
|
|
|
3
3
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
4
4
|
import { language } from '../../../../base/common/platform.js';
|
|
5
5
|
|
|
6
|
-
const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(
|
|
6
|
+
const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(10569, "A speech provider is registered to the speech service.")) }));
|
|
7
7
|
const SpeechToTextInProgress = ( new RawContextKey(
|
|
8
8
|
'speechToTextInProgress',
|
|
9
9
|
false,
|
|
10
|
-
{ type: 'boolean', description: ( localize(
|
|
10
|
+
{ type: 'boolean', description: ( localize(10570, "A speech-to-text session is in progress.")) }
|
|
11
11
|
));
|
|
12
12
|
const TextToSpeechInProgress = ( new RawContextKey(
|
|
13
13
|
'textToSpeechInProgress',
|
|
14
14
|
false,
|
|
15
|
-
{ type: 'boolean', description: ( localize(
|
|
15
|
+
{ type: 'boolean', description: ( localize(10571, "A text-to-speech session is in progress.")) }
|
|
16
16
|
));
|
|
17
17
|
var SpeechToTextStatus;
|
|
18
18
|
(function (SpeechToTextStatus) {
|
|
@@ -44,82 +44,82 @@ var AccessibilityVoiceSettingId;
|
|
|
44
44
|
const SPEECH_LANGUAGE_CONFIG = AccessibilityVoiceSettingId.SpeechLanguage;
|
|
45
45
|
const SPEECH_LANGUAGES = {
|
|
46
46
|
['da-DK']: {
|
|
47
|
-
name: ( localize(
|
|
47
|
+
name: ( localize(10572, "Danish (Denmark)"))
|
|
48
48
|
},
|
|
49
49
|
['de-DE']: {
|
|
50
|
-
name: ( localize(
|
|
50
|
+
name: ( localize(10573, "German (Germany)"))
|
|
51
51
|
},
|
|
52
52
|
['en-AU']: {
|
|
53
|
-
name: ( localize(
|
|
53
|
+
name: ( localize(10574, "English (Australia)"))
|
|
54
54
|
},
|
|
55
55
|
['en-CA']: {
|
|
56
|
-
name: ( localize(
|
|
56
|
+
name: ( localize(10575, "English (Canada)"))
|
|
57
57
|
},
|
|
58
58
|
['en-GB']: {
|
|
59
|
-
name: ( localize(
|
|
59
|
+
name: ( localize(10576, "English (United Kingdom)"))
|
|
60
60
|
},
|
|
61
61
|
['en-IE']: {
|
|
62
|
-
name: ( localize(
|
|
62
|
+
name: ( localize(10577, "English (Ireland)"))
|
|
63
63
|
},
|
|
64
64
|
['en-IN']: {
|
|
65
|
-
name: ( localize(
|
|
65
|
+
name: ( localize(10578, "English (India)"))
|
|
66
66
|
},
|
|
67
67
|
['en-NZ']: {
|
|
68
|
-
name: ( localize(
|
|
68
|
+
name: ( localize(10579, "English (New Zealand)"))
|
|
69
69
|
},
|
|
70
70
|
['en-US']: {
|
|
71
|
-
name: ( localize(
|
|
71
|
+
name: ( localize(10580, "English (United States)"))
|
|
72
72
|
},
|
|
73
73
|
['es-ES']: {
|
|
74
|
-
name: ( localize(
|
|
74
|
+
name: ( localize(10581, "Spanish (Spain)"))
|
|
75
75
|
},
|
|
76
76
|
['es-MX']: {
|
|
77
|
-
name: ( localize(
|
|
77
|
+
name: ( localize(10582, "Spanish (Mexico)"))
|
|
78
78
|
},
|
|
79
79
|
['fr-CA']: {
|
|
80
|
-
name: ( localize(
|
|
80
|
+
name: ( localize(10583, "French (Canada)"))
|
|
81
81
|
},
|
|
82
82
|
['fr-FR']: {
|
|
83
|
-
name: ( localize(
|
|
83
|
+
name: ( localize(10584, "French (France)"))
|
|
84
84
|
},
|
|
85
85
|
['hi-IN']: {
|
|
86
|
-
name: ( localize(
|
|
86
|
+
name: ( localize(10585, "Hindi (India)"))
|
|
87
87
|
},
|
|
88
88
|
['it-IT']: {
|
|
89
|
-
name: ( localize(
|
|
89
|
+
name: ( localize(10586, "Italian (Italy)"))
|
|
90
90
|
},
|
|
91
91
|
['ja-JP']: {
|
|
92
|
-
name: ( localize(
|
|
92
|
+
name: ( localize(10587, "Japanese (Japan)"))
|
|
93
93
|
},
|
|
94
94
|
['ko-KR']: {
|
|
95
|
-
name: ( localize(
|
|
95
|
+
name: ( localize(10588, "Korean (South Korea)"))
|
|
96
96
|
},
|
|
97
97
|
['nl-NL']: {
|
|
98
|
-
name: ( localize(
|
|
98
|
+
name: ( localize(10589, "Dutch (Netherlands)"))
|
|
99
99
|
},
|
|
100
100
|
['pt-PT']: {
|
|
101
|
-
name: ( localize(
|
|
101
|
+
name: ( localize(10590, "Portuguese (Portugal)"))
|
|
102
102
|
},
|
|
103
103
|
['pt-BR']: {
|
|
104
|
-
name: ( localize(
|
|
104
|
+
name: ( localize(10591, "Portuguese (Brazil)"))
|
|
105
105
|
},
|
|
106
106
|
['ru-RU']: {
|
|
107
|
-
name: ( localize(
|
|
107
|
+
name: ( localize(10592, "Russian (Russia)"))
|
|
108
108
|
},
|
|
109
109
|
['sv-SE']: {
|
|
110
|
-
name: ( localize(
|
|
110
|
+
name: ( localize(10593, "Swedish (Sweden)"))
|
|
111
111
|
},
|
|
112
112
|
['tr-TR']: {
|
|
113
|
-
name: ( localize(
|
|
113
|
+
name: ( localize(10594, "Turkish (Türkiye)"))
|
|
114
114
|
},
|
|
115
115
|
['zh-CN']: {
|
|
116
|
-
name: ( localize(
|
|
116
|
+
name: ( localize(10595, "Chinese (Simplified, China)"))
|
|
117
117
|
},
|
|
118
118
|
['zh-HK']: {
|
|
119
|
-
name: ( localize(
|
|
119
|
+
name: ( localize(10596, "Chinese (Traditional, Hong Kong)"))
|
|
120
120
|
},
|
|
121
121
|
['zh-TW']: {
|
|
122
|
-
name: ( localize(
|
|
122
|
+
name: ( localize(10597, "Chinese (Traditional, Taiwan)"))
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
function speechLanguageConfigToLanguage(config, lang = language) {
|
|
@@ -3,7 +3,7 @@ import { Codicon } from '../../../../base/common/codicons.js';
|
|
|
3
3
|
import { localize } from '../../../../nls.js';
|
|
4
4
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
5
5
|
|
|
6
|
-
const rerunTaskIcon = registerIcon('rerun-task', Codicon.refresh, ( localize(
|
|
6
|
+
const rerunTaskIcon = registerIcon('rerun-task', Codicon.refresh, ( localize(10806, 'View icon of the rerun task.')));
|
|
7
7
|
const RerunForActiveTerminalCommandId = 'workbench.action.tasks.rerunForActiveTerminal';
|
|
8
8
|
const RerunAllRunningTasksCommandId = 'workbench.action.tasks.rerunAllRunningTasks';
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ const taskDefinitionSchema = {
|
|
|
13
13
|
type: {
|
|
14
14
|
type: 'string',
|
|
15
15
|
description: ( localize(
|
|
16
|
-
|
|
16
|
+
11014,
|
|
17
17
|
'The actual task type. Please note that types starting with a \'$\' are reserved for internal usage.'
|
|
18
18
|
))
|
|
19
19
|
},
|
|
@@ -25,7 +25,7 @@ const taskDefinitionSchema = {
|
|
|
25
25
|
},
|
|
26
26
|
properties: {
|
|
27
27
|
type: 'object',
|
|
28
|
-
description: ( localize(
|
|
28
|
+
description: ( localize(11015, 'Additional properties of the task type')),
|
|
29
29
|
additionalProperties: {
|
|
30
30
|
$ref: 'http://json-schema.org/draft-07/schema#'
|
|
31
31
|
}
|
|
@@ -33,7 +33,7 @@ const taskDefinitionSchema = {
|
|
|
33
33
|
when: {
|
|
34
34
|
type: 'string',
|
|
35
35
|
markdownDescription: ( localize(
|
|
36
|
-
|
|
36
|
+
11016,
|
|
37
37
|
'Condition which must be true to enable this type of task. Consider using `shellExecutionSupported`, `processExecutionSupported`, and `customExecutionSupported` as appropriate for this task definition. See the [API documentation](https://code.visualstudio.com/api/extension-guides/task-provider#when-clause) for more information.'
|
|
38
38
|
)),
|
|
39
39
|
default: ''
|
|
@@ -49,7 +49,7 @@ var Configuration;
|
|
|
49
49
|
const taskType = isString(value.type) ? value.type : undefined;
|
|
50
50
|
if (!taskType || taskType.length === 0) {
|
|
51
51
|
messageCollector.error(( localize(
|
|
52
|
-
|
|
52
|
+
11017,
|
|
53
53
|
'The task type configuration is missing the required \'taskType\' property'
|
|
54
54
|
)));
|
|
55
55
|
return undefined;
|
|
@@ -81,7 +81,7 @@ const taskDefinitionsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
jsonSchema: {
|
|
84
|
-
description: ( localize(
|
|
84
|
+
description: ( localize(11018, 'Contributes task kinds')),
|
|
85
85
|
type: 'array',
|
|
86
86
|
items: taskDefinitionSchema
|
|
87
87
|
}
|
|
@@ -9,9 +9,9 @@ import { ConfigurationTarget } from '../../../../platform/configuration/common/c
|
|
|
9
9
|
export { RerunAllRunningTasksCommandId, RerunForActiveTerminalCommandId, rerunTaskIcon } from './constants.js';
|
|
10
10
|
|
|
11
11
|
const USER_TASKS_GROUP_KEY = 'settings';
|
|
12
|
-
const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(
|
|
13
|
-
const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(
|
|
14
|
-
const TASKS_CATEGORY = ( localize2(
|
|
12
|
+
const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(11029, "Whether a task is currently running."))));
|
|
13
|
+
const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(11030, "Whether the active terminal is a task terminal."))));
|
|
14
|
+
const TASKS_CATEGORY = ( localize2(11031, "Tasks"));
|
|
15
15
|
var ShellQuoting;
|
|
16
16
|
(function (ShellQuoting) {
|
|
17
17
|
ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
|
|
@@ -794,7 +794,7 @@ var TaskDefinition;
|
|
|
794
794
|
break;
|
|
795
795
|
default:
|
|
796
796
|
reporter.error(( localize(
|
|
797
|
-
|
|
797
|
+
11032,
|
|
798
798
|
'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
|
|
799
799
|
JSON.stringify(external, undefined, 0),
|
|
800
800
|
property
|
|
@@ -27,19 +27,19 @@ var TestExplorerViewSorting;
|
|
|
27
27
|
TestExplorerViewSorting["ByDuration"] = "duration";
|
|
28
28
|
})(TestExplorerViewSorting || (TestExplorerViewSorting = {}));
|
|
29
29
|
const testStateNames = {
|
|
30
|
-
[TestResultState.Errored]: ( localize(
|
|
31
|
-
[TestResultState.Failed]: ( localize(
|
|
32
|
-
[TestResultState.Passed]: ( localize(
|
|
33
|
-
[TestResultState.Queued]: ( localize(
|
|
34
|
-
[TestResultState.Running]: ( localize(
|
|
35
|
-
[TestResultState.Skipped]: ( localize(
|
|
36
|
-
[TestResultState.Unset]: ( localize(
|
|
30
|
+
[TestResultState.Errored]: ( localize(12183, 'Errored')),
|
|
31
|
+
[TestResultState.Failed]: ( localize(12184, 'Failed')),
|
|
32
|
+
[TestResultState.Passed]: ( localize(12185, 'Passed')),
|
|
33
|
+
[TestResultState.Queued]: ( localize(12186, 'Queued')),
|
|
34
|
+
[TestResultState.Running]: ( localize(12187, 'Running')),
|
|
35
|
+
[TestResultState.Skipped]: ( localize(12188, 'Skipped')),
|
|
36
|
+
[TestResultState.Unset]: ( localize(12189, 'Not yet run')),
|
|
37
37
|
};
|
|
38
|
-
const labelForTestInState = (label, state) => ( localize(
|
|
38
|
+
const labelForTestInState = (label, state) => ( localize(12190, '{0} ({1})', stripIcons(label), testStateNames[state]));
|
|
39
39
|
const testConfigurationGroupNames = {
|
|
40
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
41
|
-
[TestRunProfileBitset.Run]: ( localize(
|
|
42
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
40
|
+
[TestRunProfileBitset.Debug]: ( localize(12191, 'Debug')),
|
|
41
|
+
[TestRunProfileBitset.Run]: ( localize(12192, 'Run')),
|
|
42
|
+
[TestRunProfileBitset.Coverage]: ( localize(12193, 'Coverage')),
|
|
43
43
|
};
|
|
44
44
|
var TestCommandId;
|
|
45
45
|
(function (TestCommandId) {
|
|
@@ -46,9 +46,9 @@ var TestRunProfileBitset;
|
|
|
46
46
|
TestRunProfileBitset[TestRunProfileBitset["SupportsContinuousRun"] = 64] = "SupportsContinuousRun";
|
|
47
47
|
})(TestRunProfileBitset || (TestRunProfileBitset = {}));
|
|
48
48
|
const testProfileBitset = {
|
|
49
|
-
[TestRunProfileBitset.Run]: ( localize(
|
|
50
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
51
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
49
|
+
[TestRunProfileBitset.Run]: ( localize(12198, 'Run')),
|
|
50
|
+
[TestRunProfileBitset.Debug]: ( localize(12199, 'Debug')),
|
|
51
|
+
[TestRunProfileBitset.Coverage]: ( localize(12200, 'Coverage')),
|
|
52
52
|
};
|
|
53
53
|
const testRunProfileBitsetList = [
|
|
54
54
|
TestRunProfileBitset.Run,
|
|
@@ -197,7 +197,7 @@ class NullDefaultAccountService extends Disposable {
|
|
|
197
197
|
constructor() {
|
|
198
198
|
super({
|
|
199
199
|
id: DEFAULT_ACCOUNT_SIGN_IN_COMMAND,
|
|
200
|
-
title: ( localize(
|
|
200
|
+
title: ( localize(13056, "Sign in to {0}", authProviderLabel)),
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
203
|
run() {
|