@codingame/monaco-vscode-api 20.0.1 → 20.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/missing-services.js +121 -370
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +5 -3
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +43 -43
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +36 -9
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
- 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/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 +86 -86
- 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
|
@@ -15,7 +15,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super({
|
|
17
17
|
id: 'editor.action.formatDocument.none',
|
|
18
|
-
label: ( localize2(
|
|
18
|
+
label: ( localize2(7643, "Format Document")),
|
|
19
19
|
precondition: ( ContextKeyExpr.and(EditorContextKeys.writable, ( EditorContextKeys.hasDocumentFormattingProvider.toNegated()))),
|
|
20
20
|
kbOpts: {
|
|
21
21
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -43,14 +43,14 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
43
43
|
return commandService.executeCommand('editor.action.formatDocument');
|
|
44
44
|
}
|
|
45
45
|
else if (model.isTooLargeForSyncing()) {
|
|
46
|
-
notificationService.warn(( localize(
|
|
46
|
+
notificationService.warn(( localize(7644, "This file cannot be formatted because it is too large")));
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
const langName = model.getLanguageId();
|
|
50
|
-
const message = ( localize(
|
|
50
|
+
const message = ( localize(7645, "There is no formatter for '{0}' files installed.", langName));
|
|
51
51
|
const { confirmed } = await dialogService.confirm({
|
|
52
52
|
message,
|
|
53
|
-
primaryButton: ( localize(
|
|
53
|
+
primaryButton: ( localize(7646, "&&Install Formatter..."))
|
|
54
54
|
});
|
|
55
55
|
if (confirmed) {
|
|
56
56
|
extensionsWorkbenchService.openSearch(`category:formatters ${langName}`);
|
|
@@ -19,7 +19,7 @@ registerEditorAction(class FormatModifiedAction extends EditorAction {
|
|
|
19
19
|
constructor() {
|
|
20
20
|
super({
|
|
21
21
|
id: 'editor.action.formatChanges',
|
|
22
|
-
label: ( localize2(
|
|
22
|
+
label: ( localize2(7647, "Format Modified Lines")),
|
|
23
23
|
precondition: ( ContextKeyExpr.and(
|
|
24
24
|
EditorContextKeys.writable,
|
|
25
25
|
EditorContextKeys.hasDocumentSelectionFormattingProvider
|
|
@@ -24,7 +24,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
24
24
|
static { this.IsReading = ( new RawContextKey(
|
|
25
25
|
'isReadingLineWithInlayHints',
|
|
26
26
|
false,
|
|
27
|
-
{ type: 'boolean', description: ( localize(
|
|
27
|
+
{ type: 'boolean', description: ( localize(7648, "Whether the current line and its inlay hints are currently focused")) }
|
|
28
28
|
)); }
|
|
29
29
|
static { this.ID = 'editor.contrib.InlayHintsAccessibility'; }
|
|
30
30
|
static get(editor) {
|
|
@@ -39,7 +39,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
39
39
|
this._ariaElement.style.position = 'fixed';
|
|
40
40
|
this._ariaElement.className = 'inlayhint-accessibility-element';
|
|
41
41
|
this._ariaElement.tabIndex = 0;
|
|
42
|
-
this._ariaElement.setAttribute('aria-description', ( localize(
|
|
42
|
+
this._ariaElement.setAttribute('aria-description', ( localize(7649, "Code with Inlay Hint Information")));
|
|
43
43
|
this._ctxIsReading = InlayHintsAccessibility_1.IsReading.bindTo(contextKeyService);
|
|
44
44
|
}
|
|
45
45
|
dispose() {
|
|
@@ -139,7 +139,7 @@ registerAction2(class StartReadHints extends EditorAction2 {
|
|
|
139
139
|
constructor() {
|
|
140
140
|
super({
|
|
141
141
|
id: 'inlayHints.startReadingLineWithHint',
|
|
142
|
-
title: ( localize2(
|
|
142
|
+
title: ( localize2(7650, "Read Line with Inlay Hints")),
|
|
143
143
|
precondition: EditorContextKeys.hasInlayHintsProvider,
|
|
144
144
|
f1: true
|
|
145
145
|
});
|
|
@@ -153,7 +153,7 @@ registerAction2(class StopReadHints extends EditorAction2 {
|
|
|
153
153
|
constructor() {
|
|
154
154
|
super({
|
|
155
155
|
id: 'inlayHints.stopReadingLineWithHint',
|
|
156
|
-
title: ( localize2(
|
|
156
|
+
title: ( localize2(7651, "Stop Inlay Hints Reading")),
|
|
157
157
|
precondition: InlayHintsAccessibility.IsReading,
|
|
158
158
|
f1: true,
|
|
159
159
|
keybinding: {
|
|
@@ -11,8 +11,8 @@ class ListResizeColumnAction extends Action2 {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super({
|
|
13
13
|
id: 'list.resizeColumn',
|
|
14
|
-
title: { value: ( localize(
|
|
15
|
-
category: { value: ( localize(
|
|
14
|
+
title: { value: ( localize(7867, "Resize Column")), original: 'Resize Column' },
|
|
15
|
+
category: { value: ( localize(7868, "List")), original: 'List' },
|
|
16
16
|
precondition: WorkbenchListFocusContextKey,
|
|
17
17
|
f1: true
|
|
18
18
|
});
|
|
@@ -17,14 +17,14 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
17
17
|
items.push({ label, index });
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(
|
|
20
|
+
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(7869, "Select the column to resize, type to filter.")) });
|
|
21
21
|
if (!column) {
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
24
|
const value = await this._quickInputService.input({
|
|
25
|
-
placeHolder: ( localize(
|
|
25
|
+
placeHolder: ( localize(7870, "i.e. 20, 60, 100...")),
|
|
26
26
|
prompt: ( localize(
|
|
27
|
-
|
|
27
|
+
7871,
|
|
28
28
|
"Please enter a width in percentage for the '{0}' column.",
|
|
29
29
|
column.label
|
|
30
30
|
)),
|
|
@@ -39,11 +39,11 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
39
39
|
async _validateColumnResizeValue(input) {
|
|
40
40
|
const percentage = Number.parseInt(input);
|
|
41
41
|
if (input && !Number.isInteger(percentage)) {
|
|
42
|
-
return localize(
|
|
42
|
+
return localize(7872, "Please enter an integer.");
|
|
43
43
|
}
|
|
44
44
|
else if (percentage < 0 || percentage > 100) {
|
|
45
45
|
return localize(
|
|
46
|
-
|
|
46
|
+
7873,
|
|
47
47
|
"Please enter a number greater than 0 and less than or equal to 100."
|
|
48
48
|
);
|
|
49
49
|
}
|
|
@@ -158,13 +158,13 @@ var McpConnectionState;
|
|
|
158
158
|
McpConnectionState.toString = (s) => {
|
|
159
159
|
switch (s.state) {
|
|
160
160
|
case Kind.Stopped:
|
|
161
|
-
return localize(
|
|
161
|
+
return localize(8370, 'Stopped');
|
|
162
162
|
case Kind.Starting:
|
|
163
|
-
return localize(
|
|
163
|
+
return localize(8371, 'Starting');
|
|
164
164
|
case Kind.Running:
|
|
165
|
-
return localize(
|
|
165
|
+
return localize(8372, 'Running');
|
|
166
166
|
case Kind.Error:
|
|
167
|
-
return localize(
|
|
167
|
+
return localize(8373, 'Error {0}', s.message);
|
|
168
168
|
default:
|
|
169
169
|
assertNever();
|
|
170
170
|
}
|
|
@@ -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(10268, "{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
|
+
10269,
|
|
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(10269, "{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(10285, "Workspace Snippet"));
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
213
|
if (this.isGlobalSnippets) {
|
|
214
|
-
source = ( localize(
|
|
214
|
+
source = ( localize(10286, "Global User Snippet"));
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
217
|
-
source = ( localize(
|
|
217
|
+
source = ( localize(10287, "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
|
+
10288,
|
|
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
|
+
10289,
|
|
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
|
+
10290,
|
|
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
|
+
10291,
|
|
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(10292, '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(10293, 'Language identifier for which this snippet is contributed to.')),
|
|
90
90
|
type: 'string'
|
|
91
91
|
},
|
|
92
92
|
path: {
|
|
93
93
|
description: ( localize(
|
|
94
|
-
|
|
94
|
+
10294,
|
|
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
|
+
10295,
|
|
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
|
+
10296,
|
|
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(10300, "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(10301, "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(10302, "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(10303, "Danish (Denmark)"))
|
|
48
48
|
},
|
|
49
49
|
['de-DE']: {
|
|
50
|
-
name: ( localize(
|
|
50
|
+
name: ( localize(10304, "German (Germany)"))
|
|
51
51
|
},
|
|
52
52
|
['en-AU']: {
|
|
53
|
-
name: ( localize(
|
|
53
|
+
name: ( localize(10305, "English (Australia)"))
|
|
54
54
|
},
|
|
55
55
|
['en-CA']: {
|
|
56
|
-
name: ( localize(
|
|
56
|
+
name: ( localize(10306, "English (Canada)"))
|
|
57
57
|
},
|
|
58
58
|
['en-GB']: {
|
|
59
|
-
name: ( localize(
|
|
59
|
+
name: ( localize(10307, "English (United Kingdom)"))
|
|
60
60
|
},
|
|
61
61
|
['en-IE']: {
|
|
62
|
-
name: ( localize(
|
|
62
|
+
name: ( localize(10308, "English (Ireland)"))
|
|
63
63
|
},
|
|
64
64
|
['en-IN']: {
|
|
65
|
-
name: ( localize(
|
|
65
|
+
name: ( localize(10309, "English (India)"))
|
|
66
66
|
},
|
|
67
67
|
['en-NZ']: {
|
|
68
|
-
name: ( localize(
|
|
68
|
+
name: ( localize(10310, "English (New Zealand)"))
|
|
69
69
|
},
|
|
70
70
|
['en-US']: {
|
|
71
|
-
name: ( localize(
|
|
71
|
+
name: ( localize(10311, "English (United States)"))
|
|
72
72
|
},
|
|
73
73
|
['es-ES']: {
|
|
74
|
-
name: ( localize(
|
|
74
|
+
name: ( localize(10312, "Spanish (Spain)"))
|
|
75
75
|
},
|
|
76
76
|
['es-MX']: {
|
|
77
|
-
name: ( localize(
|
|
77
|
+
name: ( localize(10313, "Spanish (Mexico)"))
|
|
78
78
|
},
|
|
79
79
|
['fr-CA']: {
|
|
80
|
-
name: ( localize(
|
|
80
|
+
name: ( localize(10314, "French (Canada)"))
|
|
81
81
|
},
|
|
82
82
|
['fr-FR']: {
|
|
83
|
-
name: ( localize(
|
|
83
|
+
name: ( localize(10315, "French (France)"))
|
|
84
84
|
},
|
|
85
85
|
['hi-IN']: {
|
|
86
|
-
name: ( localize(
|
|
86
|
+
name: ( localize(10316, "Hindi (India)"))
|
|
87
87
|
},
|
|
88
88
|
['it-IT']: {
|
|
89
|
-
name: ( localize(
|
|
89
|
+
name: ( localize(10317, "Italian (Italy)"))
|
|
90
90
|
},
|
|
91
91
|
['ja-JP']: {
|
|
92
|
-
name: ( localize(
|
|
92
|
+
name: ( localize(10318, "Japanese (Japan)"))
|
|
93
93
|
},
|
|
94
94
|
['ko-KR']: {
|
|
95
|
-
name: ( localize(
|
|
95
|
+
name: ( localize(10319, "Korean (South Korea)"))
|
|
96
96
|
},
|
|
97
97
|
['nl-NL']: {
|
|
98
|
-
name: ( localize(
|
|
98
|
+
name: ( localize(10320, "Dutch (Netherlands)"))
|
|
99
99
|
},
|
|
100
100
|
['pt-PT']: {
|
|
101
|
-
name: ( localize(
|
|
101
|
+
name: ( localize(10321, "Portuguese (Portugal)"))
|
|
102
102
|
},
|
|
103
103
|
['pt-BR']: {
|
|
104
|
-
name: ( localize(
|
|
104
|
+
name: ( localize(10322, "Portuguese (Brazil)"))
|
|
105
105
|
},
|
|
106
106
|
['ru-RU']: {
|
|
107
|
-
name: ( localize(
|
|
107
|
+
name: ( localize(10323, "Russian (Russia)"))
|
|
108
108
|
},
|
|
109
109
|
['sv-SE']: {
|
|
110
|
-
name: ( localize(
|
|
110
|
+
name: ( localize(10324, "Swedish (Sweden)"))
|
|
111
111
|
},
|
|
112
112
|
['tr-TR']: {
|
|
113
|
-
name: ( localize(
|
|
113
|
+
name: ( localize(10325, "Turkish (Türkiye)"))
|
|
114
114
|
},
|
|
115
115
|
['zh-CN']: {
|
|
116
|
-
name: ( localize(
|
|
116
|
+
name: ( localize(10326, "Chinese (Simplified, China)"))
|
|
117
117
|
},
|
|
118
118
|
['zh-HK']: {
|
|
119
|
-
name: ( localize(
|
|
119
|
+
name: ( localize(10327, "Chinese (Traditional, Hong Kong)"))
|
|
120
120
|
},
|
|
121
121
|
['zh-TW']: {
|
|
122
|
-
name: ( localize(
|
|
122
|
+
name: ( localize(10328, "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(10531, '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
|
+
10738,
|
|
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(10739, '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
|
+
10740,
|
|
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
|
+
10741,
|
|
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(10742, '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(10752, "Whether a task is currently running."))));
|
|
13
|
+
const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(10753, "Whether the active terminal is a task terminal."))));
|
|
14
|
+
const TASKS_CATEGORY = ( localize2(10754, "Tasks"));
|
|
15
15
|
var ShellQuoting;
|
|
16
16
|
(function (ShellQuoting) {
|
|
17
17
|
ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
|
|
@@ -782,7 +782,7 @@ var TaskDefinition;
|
|
|
782
782
|
break;
|
|
783
783
|
default:
|
|
784
784
|
reporter.error(( localize(
|
|
785
|
-
|
|
785
|
+
10755,
|
|
786
786
|
'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
|
|
787
787
|
JSON.stringify(external, undefined, 0),
|
|
788
788
|
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(11834, 'Errored')),
|
|
31
|
+
[TestResultState.Failed]: ( localize(11835, 'Failed')),
|
|
32
|
+
[TestResultState.Passed]: ( localize(11836, 'Passed')),
|
|
33
|
+
[TestResultState.Queued]: ( localize(11837, 'Queued')),
|
|
34
|
+
[TestResultState.Running]: ( localize(11838, 'Running')),
|
|
35
|
+
[TestResultState.Skipped]: ( localize(11839, 'Skipped')),
|
|
36
|
+
[TestResultState.Unset]: ( localize(11840, 'Not yet run')),
|
|
37
37
|
};
|
|
38
|
-
const labelForTestInState = (label, state) => ( localize(
|
|
38
|
+
const labelForTestInState = (label, state) => ( localize(11841, '{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(11842, 'Debug')),
|
|
41
|
+
[TestRunProfileBitset.Run]: ( localize(11843, 'Run')),
|
|
42
|
+
[TestRunProfileBitset.Coverage]: ( localize(11844, '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(11849, 'Run')),
|
|
50
|
+
[TestRunProfileBitset.Debug]: ( localize(11850, 'Debug')),
|
|
51
|
+
[TestRunProfileBitset.Coverage]: ( localize(11851, 'Coverage')),
|
|
52
52
|
};
|
|
53
53
|
const testRunProfileBitsetList = [
|
|
54
54
|
TestRunProfileBitset.Run,
|
|
@@ -169,7 +169,7 @@ class NullDefaultAccountService extends Disposable {
|
|
|
169
169
|
constructor() {
|
|
170
170
|
super({
|
|
171
171
|
id: DEFAULT_ACCOUNT_SIGN_IN_COMMAND,
|
|
172
|
-
title: ( localize(
|
|
172
|
+
title: ( localize(12722, "Sign in to {0}", authProviderLabel)),
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
run() {
|