@codingame/monaco-vscode-task-service-override 32.0.0 → 32.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.js +111 -111
- package/vscode/src/vs/workbench/contrib/tasks/browser/runAutomaticTasks.js +7 -7
- package/vscode/src/vs/workbench/contrib/tasks/browser/task.contribution.js +47 -47
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskQuickPick.js +17 -17
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskService.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskTerminalStatus.js +10 -10
- package/vscode/src/vs/workbench/contrib/tasks/browser/tasksQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.js +15 -15
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.js +41 -41
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v1.js +8 -8
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.js +83 -83
- package/vscode/src/vs/workbench/contrib/tasks/common/problemMatcher.js +70 -70
- package/vscode/src/vs/workbench/contrib/tasks/common/taskConfiguration.js +16 -16
- package/vscode/src/vs/workbench/contrib/tasks/common/taskTemplates.js +4 -4
|
@@ -170,7 +170,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
170
170
|
this._hasReconnected = false;
|
|
171
171
|
this._terminalTabActions = [{
|
|
172
172
|
id: RerunForActiveTerminalCommandId,
|
|
173
|
-
label: ( localize(
|
|
173
|
+
label: ( localize(13533, "Rerun Task")),
|
|
174
174
|
icon: rerunTaskIcon
|
|
175
175
|
}];
|
|
176
176
|
this._taskStartTimes = ( new Map());
|
|
@@ -250,7 +250,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
250
250
|
} else {
|
|
251
251
|
this._log(( error.toString()));
|
|
252
252
|
throw ( new TaskError(Severity.Error, ( localize(
|
|
253
|
-
|
|
253
|
+
13534,
|
|
254
254
|
"A unknown error has occurred while executing a task. See task output log for details."
|
|
255
255
|
)), TaskErrors.UnknownError));
|
|
256
256
|
}
|
|
@@ -298,7 +298,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
298
298
|
});
|
|
299
299
|
const openOutput = "Show Output";
|
|
300
300
|
this._notificationService.prompt(Severity.Warning, ( localize(
|
|
301
|
-
|
|
301
|
+
13535,
|
|
302
302
|
"There are issues with task \"{0}\". See the output for more details.",
|
|
303
303
|
task._label
|
|
304
304
|
)), [{
|
|
@@ -466,7 +466,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
466
466
|
return Promise.all(promises);
|
|
467
467
|
}
|
|
468
468
|
_showDependencyCycleMessage(task) {
|
|
469
|
-
this._log(( localize(
|
|
469
|
+
this._log(( localize(13536, "There is a dependency cycle. See task \"{0}\".", task._label)));
|
|
470
470
|
this._showOutput();
|
|
471
471
|
}
|
|
472
472
|
_executeTask(
|
|
@@ -529,7 +529,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
529
529
|
}
|
|
530
530
|
} else {
|
|
531
531
|
this._log(( localize(
|
|
532
|
-
|
|
532
|
+
13537,
|
|
533
533
|
"Couldn't resolve dependent task '{0}' in workspace folder '{1}'",
|
|
534
534
|
isString(dependency.task) ? dependency.task : JSON.stringify(dependency.task, undefined, 0),
|
|
535
535
|
(dependency.uri.toString())
|
|
@@ -883,7 +883,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
883
883
|
));
|
|
884
884
|
if ((problemMatchers.length > 0) && !watchingProblemMatcher.isWatching()) {
|
|
885
885
|
this._appendOutput(( localize(
|
|
886
|
-
|
|
886
|
+
13538,
|
|
887
887
|
"Task {0} is a background task but uses a problem matcher without a background pattern",
|
|
888
888
|
task._label
|
|
889
889
|
)));
|
|
@@ -1326,11 +1326,11 @@ class TerminalTaskSystem extends Disposable {
|
|
|
1326
1326
|
if (task.command.presentation && task.command.presentation.echo) {
|
|
1327
1327
|
if (needsFolderQualification && workspaceFolder) {
|
|
1328
1328
|
const folder = cwd && typeof cwd === "object" && Object.hasOwn(cwd, "path") ? basename(cwd.path) : workspaceFolder.name;
|
|
1329
|
-
shellLaunchConfig.initialText = this.taskShellIntegrationStartSequence(cwd) + formatMessageForTerminal(( localize(
|
|
1329
|
+
shellLaunchConfig.initialText = this.taskShellIntegrationStartSequence(cwd) + formatMessageForTerminal(( localize(13539, "Executing task in folder {0}: {1}", folder, commandLine)), {
|
|
1330
1330
|
excludeLeadingNewLine: true
|
|
1331
1331
|
}) + this.getTaskShellIntegrationOutputSequence(commandLineInfo);
|
|
1332
1332
|
} else {
|
|
1333
|
-
shellLaunchConfig.initialText = this.taskShellIntegrationStartSequence(cwd) + formatMessageForTerminal(( localize(
|
|
1333
|
+
shellLaunchConfig.initialText = this.taskShellIntegrationStartSequence(cwd) + formatMessageForTerminal(( localize(13540, "Executing task: {0}", commandLine)), {
|
|
1334
1334
|
excludeLeadingNewLine: true
|
|
1335
1335
|
}) + this.getTaskShellIntegrationOutputSequence(commandLineInfo);
|
|
1336
1336
|
}
|
|
@@ -1367,7 +1367,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
1367
1367
|
};
|
|
1368
1368
|
if (needsFolderQualification && workspaceFolder) {
|
|
1369
1369
|
shellLaunchConfig.initialText = this.taskShellIntegrationStartSequence(cwd) + formatMessageForTerminal(( localize(
|
|
1370
|
-
|
|
1370
|
+
13539,
|
|
1371
1371
|
"Executing task in folder {0}: {1}",
|
|
1372
1372
|
workspaceFolder.name,
|
|
1373
1373
|
`${shellLaunchConfig.executable} ${getArgsToEcho(shellLaunchConfig.args)}`
|
|
@@ -1376,7 +1376,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
1376
1376
|
}) + this.getTaskShellIntegrationOutputSequence(undefined);
|
|
1377
1377
|
} else {
|
|
1378
1378
|
shellLaunchConfig.initialText = this.taskShellIntegrationStartSequence(cwd) + formatMessageForTerminal(( localize(
|
|
1379
|
-
|
|
1379
|
+
13541,
|
|
1380
1380
|
"Executing task: {0}",
|
|
1381
1381
|
`${shellLaunchConfig.executable} ${getArgsToEcho(shellLaunchConfig.args)}`
|
|
1382
1382
|
)), {
|
|
@@ -1529,7 +1529,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
1529
1529
|
customPtyImplementation: (id, cols, rows) => ( new TerminalProcessExtHostProxy(id, cols, rows, this._terminalService)),
|
|
1530
1530
|
waitOnExit,
|
|
1531
1531
|
name: this._createTerminalName(task),
|
|
1532
|
-
initialText: task.command.presentation && task.command.presentation.echo ? formatMessageForTerminal(( localize(
|
|
1532
|
+
initialText: task.command.presentation && task.command.presentation.echo ? formatMessageForTerminal(( localize(13542, "Executing task: {0}", task._label)), {
|
|
1533
1533
|
excludeLeadingNewLine: true
|
|
1534
1534
|
}) : undefined,
|
|
1535
1535
|
isFeatureTerminal: true,
|
|
@@ -1552,7 +1552,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
1552
1552
|
presentationOptions
|
|
1553
1553
|
);
|
|
1554
1554
|
if (launchConfigs === undefined) {
|
|
1555
|
-
return [undefined, ( new TaskError(Severity.Error, ( localize(
|
|
1555
|
+
return [undefined, ( new TaskError(Severity.Error, ( localize(13543, "Can't execute a shell command on an UNC drive using cmd.exe.")), TaskErrors.UnknownError))];
|
|
1556
1556
|
}
|
|
1557
1557
|
}
|
|
1558
1558
|
const prefersSameTerminal = presentationOptions.panel === PanelKind.Dedicated;
|
|
@@ -1860,7 +1860,7 @@ class TerminalTaskSystem extends Disposable {
|
|
|
1860
1860
|
}
|
|
1861
1861
|
if (!matcher) {
|
|
1862
1862
|
this._appendOutput(( localize(
|
|
1863
|
-
|
|
1863
|
+
13544,
|
|
1864
1864
|
"Problem matcher {0} can't be resolved. The matcher will be ignored"
|
|
1865
1865
|
)));
|
|
1866
1866
|
continue;
|
|
@@ -1988,9 +1988,9 @@ function getWaitOnExitValue(presentationOptions, configurationProperties) {
|
|
|
1988
1988
|
if ((presentationOptions.close === undefined) || (presentationOptions.close === false)) {
|
|
1989
1989
|
if ((presentationOptions.reveal !== RevealKind.Never) || !configurationProperties.isBackground || (presentationOptions.close === false)) {
|
|
1990
1990
|
if (presentationOptions.panel === PanelKind.New) {
|
|
1991
|
-
return taskShellIntegrationWaitOnExitSequence(( localize(
|
|
1991
|
+
return taskShellIntegrationWaitOnExitSequence(( localize(13545, "Press any key to close the terminal.")));
|
|
1992
1992
|
} else if (presentationOptions.showReuseMessage) {
|
|
1993
|
-
return taskShellIntegrationWaitOnExitSequence(( localize(
|
|
1993
|
+
return taskShellIntegrationWaitOnExitSequence(( localize(13546, "Terminal will be reused by tasks, press any key to close it.")));
|
|
1994
1994
|
} else {
|
|
1995
1995
|
return true;
|
|
1996
1996
|
}
|
|
@@ -10,12 +10,12 @@ const schema = {
|
|
|
10
10
|
},
|
|
11
11
|
options: {
|
|
12
12
|
type: "object",
|
|
13
|
-
description: ( localize(
|
|
13
|
+
description: ( localize(13548, "Additional command options")),
|
|
14
14
|
properties: {
|
|
15
15
|
cwd: {
|
|
16
16
|
type: "string",
|
|
17
17
|
description: ( localize(
|
|
18
|
-
|
|
18
|
+
13549,
|
|
19
19
|
"The current working directory of the executed program or script. If omitted Code's current workspace root is used."
|
|
20
20
|
))
|
|
21
21
|
},
|
|
@@ -25,7 +25,7 @@ const schema = {
|
|
|
25
25
|
type: "string"
|
|
26
26
|
},
|
|
27
27
|
description: ( localize(
|
|
28
|
-
|
|
28
|
+
13550,
|
|
29
29
|
"The environment of the executed program or shell. If omitted the parent process' environment is used."
|
|
30
30
|
))
|
|
31
31
|
}
|
|
@@ -38,7 +38,7 @@ const schema = {
|
|
|
38
38
|
oneOf: [{
|
|
39
39
|
type: "string",
|
|
40
40
|
errorMessage: ( localize(
|
|
41
|
-
|
|
41
|
+
13551,
|
|
42
42
|
"Unrecognized problem matcher. Is the extension that contributes this problem matcher installed?"
|
|
43
43
|
))
|
|
44
44
|
}, Schemas.LegacyProblemMatcher, {
|
|
@@ -47,7 +47,7 @@ const schema = {
|
|
|
47
47
|
anyOf: [{
|
|
48
48
|
type: "string",
|
|
49
49
|
errorMessage: ( localize(
|
|
50
|
-
|
|
50
|
+
13551,
|
|
51
51
|
"Unrecognized problem matcher. Is the extension that contributes this problem matcher installed?"
|
|
52
52
|
))
|
|
53
53
|
}, Schemas.LegacyProblemMatcher]
|
|
@@ -57,15 +57,15 @@ const schema = {
|
|
|
57
57
|
shellConfiguration: {
|
|
58
58
|
type: "object",
|
|
59
59
|
additionalProperties: false,
|
|
60
|
-
description: ( localize(
|
|
60
|
+
description: ( localize(13552, "Configures the shell to be used.")),
|
|
61
61
|
properties: {
|
|
62
62
|
executable: {
|
|
63
63
|
type: "string",
|
|
64
|
-
description: ( localize(
|
|
64
|
+
description: ( localize(13553, "The shell to be used."))
|
|
65
65
|
},
|
|
66
66
|
args: {
|
|
67
67
|
type: "array",
|
|
68
|
-
description: ( localize(
|
|
68
|
+
description: ( localize(13554, "The shell arguments.")),
|
|
69
69
|
items: {
|
|
70
70
|
type: "string"
|
|
71
71
|
}
|
|
@@ -79,13 +79,13 @@ const schema = {
|
|
|
79
79
|
command: {
|
|
80
80
|
type: "string",
|
|
81
81
|
description: ( localize(
|
|
82
|
-
|
|
82
|
+
13555,
|
|
83
83
|
"The command to be executed. Can be an external program or a shell command."
|
|
84
84
|
))
|
|
85
85
|
},
|
|
86
86
|
args: {
|
|
87
87
|
type: "array",
|
|
88
|
-
description: ( localize(
|
|
88
|
+
description: ( localize(13556, "Arguments passed to the command when this task is invoked.")),
|
|
89
89
|
items: {
|
|
90
90
|
type: "string"
|
|
91
91
|
}
|
|
@@ -102,18 +102,18 @@ const schema = {
|
|
|
102
102
|
properties: {
|
|
103
103
|
taskName: {
|
|
104
104
|
type: "string",
|
|
105
|
-
description: ( localize(
|
|
105
|
+
description: ( localize(13557, "The task's name"))
|
|
106
106
|
},
|
|
107
107
|
command: {
|
|
108
108
|
type: "string",
|
|
109
109
|
description: ( localize(
|
|
110
|
-
|
|
110
|
+
13555,
|
|
111
111
|
"The command to be executed. Can be an external program or a shell command."
|
|
112
112
|
))
|
|
113
113
|
},
|
|
114
114
|
args: {
|
|
115
115
|
type: "array",
|
|
116
|
-
description: ( localize(
|
|
116
|
+
description: ( localize(13556, "Arguments passed to the command when this task is invoked.")),
|
|
117
117
|
items: {
|
|
118
118
|
type: "string"
|
|
119
119
|
}
|
|
@@ -124,13 +124,13 @@ const schema = {
|
|
|
124
124
|
windows: {
|
|
125
125
|
anyOf: [{
|
|
126
126
|
$ref: "#/definitions/commandConfiguration",
|
|
127
|
-
description: ( localize(
|
|
127
|
+
description: ( localize(13558, "Windows specific command configuration"))
|
|
128
128
|
}, {
|
|
129
129
|
properties: {
|
|
130
130
|
problemMatcher: {
|
|
131
131
|
$ref: "#/definitions/problemMatcherType",
|
|
132
132
|
description: ( localize(
|
|
133
|
-
|
|
133
|
+
13559,
|
|
134
134
|
"The problem matcher(s) to use. Can either be a string or a problem matcher definition or an array of strings and problem matchers."
|
|
135
135
|
))
|
|
136
136
|
}
|
|
@@ -140,13 +140,13 @@ const schema = {
|
|
|
140
140
|
osx: {
|
|
141
141
|
anyOf: [{
|
|
142
142
|
$ref: "#/definitions/commandConfiguration",
|
|
143
|
-
description: ( localize(
|
|
143
|
+
description: ( localize(13560, "Mac specific command configuration"))
|
|
144
144
|
}, {
|
|
145
145
|
properties: {
|
|
146
146
|
problemMatcher: {
|
|
147
147
|
$ref: "#/definitions/problemMatcherType",
|
|
148
148
|
description: ( localize(
|
|
149
|
-
|
|
149
|
+
13559,
|
|
150
150
|
"The problem matcher(s) to use. Can either be a string or a problem matcher definition or an array of strings and problem matchers."
|
|
151
151
|
))
|
|
152
152
|
}
|
|
@@ -156,13 +156,13 @@ const schema = {
|
|
|
156
156
|
linux: {
|
|
157
157
|
anyOf: [{
|
|
158
158
|
$ref: "#/definitions/commandConfiguration",
|
|
159
|
-
description: ( localize(
|
|
159
|
+
description: ( localize(13561, "Linux specific command configuration"))
|
|
160
160
|
}, {
|
|
161
161
|
properties: {
|
|
162
162
|
problemMatcher: {
|
|
163
163
|
$ref: "#/definitions/problemMatcherType",
|
|
164
164
|
description: ( localize(
|
|
165
|
-
|
|
165
|
+
13559,
|
|
166
166
|
"The problem matcher(s) to use. Can either be a string or a problem matcher definition or an array of strings and problem matchers."
|
|
167
167
|
))
|
|
168
168
|
}
|
|
@@ -172,7 +172,7 @@ const schema = {
|
|
|
172
172
|
suppressTaskName: {
|
|
173
173
|
type: "boolean",
|
|
174
174
|
description: ( localize(
|
|
175
|
-
|
|
175
|
+
13562,
|
|
176
176
|
"Controls whether the task name is added as an argument to the command. If omitted the globally defined value is used."
|
|
177
177
|
)),
|
|
178
178
|
default: true
|
|
@@ -180,23 +180,23 @@ const schema = {
|
|
|
180
180
|
showOutput: {
|
|
181
181
|
$ref: "#/definitions/showOutputType",
|
|
182
182
|
description: ( localize(
|
|
183
|
-
|
|
183
|
+
13563,
|
|
184
184
|
"Controls whether the output of the running task is shown or not. If omitted the globally defined value is used."
|
|
185
185
|
))
|
|
186
186
|
},
|
|
187
187
|
echoCommand: {
|
|
188
188
|
type: "boolean",
|
|
189
189
|
description: ( localize(
|
|
190
|
-
|
|
190
|
+
13564,
|
|
191
191
|
"Controls whether the executed command is echoed to the output. Default is false."
|
|
192
192
|
)),
|
|
193
193
|
default: true
|
|
194
194
|
},
|
|
195
195
|
isWatching: {
|
|
196
196
|
type: "boolean",
|
|
197
|
-
deprecationMessage: ( localize(
|
|
197
|
+
deprecationMessage: ( localize(13565, "Deprecated. Use isBackground instead.")),
|
|
198
198
|
description: ( localize(
|
|
199
|
-
|
|
199
|
+
13566,
|
|
200
200
|
"Whether the executed task is kept alive and is watching the file system."
|
|
201
201
|
)),
|
|
202
202
|
default: true
|
|
@@ -204,7 +204,7 @@ const schema = {
|
|
|
204
204
|
isBackground: {
|
|
205
205
|
type: "boolean",
|
|
206
206
|
description: ( localize(
|
|
207
|
-
|
|
207
|
+
13567,
|
|
208
208
|
"Whether the executed task is kept alive and is running in the background."
|
|
209
209
|
)),
|
|
210
210
|
default: true
|
|
@@ -212,25 +212,25 @@ const schema = {
|
|
|
212
212
|
promptOnClose: {
|
|
213
213
|
type: "boolean",
|
|
214
214
|
description: ( localize(
|
|
215
|
-
|
|
215
|
+
13568,
|
|
216
216
|
"Whether the user is prompted when VS Code closes with a running task."
|
|
217
217
|
)),
|
|
218
218
|
default: false
|
|
219
219
|
},
|
|
220
220
|
isBuildCommand: {
|
|
221
221
|
type: "boolean",
|
|
222
|
-
description: ( localize(
|
|
222
|
+
description: ( localize(13569, "Maps this task to Code's default build command.")),
|
|
223
223
|
default: true
|
|
224
224
|
},
|
|
225
225
|
isTestCommand: {
|
|
226
226
|
type: "boolean",
|
|
227
|
-
description: ( localize(
|
|
227
|
+
description: ( localize(13570, "Maps this task to Code's default test command.")),
|
|
228
228
|
default: true
|
|
229
229
|
},
|
|
230
230
|
problemMatcher: {
|
|
231
231
|
$ref: "#/definitions/problemMatcherType",
|
|
232
232
|
description: ( localize(
|
|
233
|
-
|
|
233
|
+
13559,
|
|
234
234
|
"The problem matcher(s) to use. Can either be a string or a problem matcher definition or an array of strings and problem matchers."
|
|
235
235
|
))
|
|
236
236
|
}
|
|
@@ -243,13 +243,13 @@ const schema = {
|
|
|
243
243
|
command: {
|
|
244
244
|
type: "string",
|
|
245
245
|
description: ( localize(
|
|
246
|
-
|
|
246
|
+
13555,
|
|
247
247
|
"The command to be executed. Can be an external program or a shell command."
|
|
248
248
|
))
|
|
249
249
|
},
|
|
250
250
|
args: {
|
|
251
251
|
type: "array",
|
|
252
|
-
description: ( localize(
|
|
252
|
+
description: ( localize(13571, "Additional arguments passed to the command.")),
|
|
253
253
|
items: {
|
|
254
254
|
type: "string"
|
|
255
255
|
}
|
|
@@ -260,15 +260,15 @@ const schema = {
|
|
|
260
260
|
showOutput: {
|
|
261
261
|
$ref: "#/definitions/showOutputType",
|
|
262
262
|
description: ( localize(
|
|
263
|
-
|
|
263
|
+
13572,
|
|
264
264
|
"Controls whether the output of the running task is shown or not. If omitted 'always' is used."
|
|
265
265
|
))
|
|
266
266
|
},
|
|
267
267
|
isWatching: {
|
|
268
268
|
type: "boolean",
|
|
269
|
-
deprecationMessage: ( localize(
|
|
269
|
+
deprecationMessage: ( localize(13573, "Deprecated. Use isBackground instead.")),
|
|
270
270
|
description: ( localize(
|
|
271
|
-
|
|
271
|
+
13574,
|
|
272
272
|
"Whether the executed task is kept alive and is watching the file system."
|
|
273
273
|
)),
|
|
274
274
|
default: true
|
|
@@ -276,7 +276,7 @@ const schema = {
|
|
|
276
276
|
isBackground: {
|
|
277
277
|
type: "boolean",
|
|
278
278
|
description: ( localize(
|
|
279
|
-
|
|
279
|
+
13575,
|
|
280
280
|
"Whether the executed task is kept alive and is running in the background."
|
|
281
281
|
)),
|
|
282
282
|
default: true
|
|
@@ -284,7 +284,7 @@ const schema = {
|
|
|
284
284
|
promptOnClose: {
|
|
285
285
|
type: "boolean",
|
|
286
286
|
description: ( localize(
|
|
287
|
-
|
|
287
|
+
13576,
|
|
288
288
|
"Whether the user is prompted when VS Code closes with a running background task."
|
|
289
289
|
)),
|
|
290
290
|
default: false
|
|
@@ -292,7 +292,7 @@ const schema = {
|
|
|
292
292
|
echoCommand: {
|
|
293
293
|
type: "boolean",
|
|
294
294
|
description: ( localize(
|
|
295
|
-
|
|
295
|
+
13564,
|
|
296
296
|
"Controls whether the executed command is echoed to the output. Default is false."
|
|
297
297
|
)),
|
|
298
298
|
default: true
|
|
@@ -300,26 +300,26 @@ const schema = {
|
|
|
300
300
|
suppressTaskName: {
|
|
301
301
|
type: "boolean",
|
|
302
302
|
description: ( localize(
|
|
303
|
-
|
|
303
|
+
13577,
|
|
304
304
|
"Controls whether the task name is added as an argument to the command. Default is false."
|
|
305
305
|
)),
|
|
306
306
|
default: true
|
|
307
307
|
},
|
|
308
308
|
taskSelector: {
|
|
309
309
|
type: "string",
|
|
310
|
-
description: ( localize(
|
|
310
|
+
description: ( localize(13578, "Prefix to indicate that an argument is task."))
|
|
311
311
|
},
|
|
312
312
|
problemMatcher: {
|
|
313
313
|
$ref: "#/definitions/problemMatcherType",
|
|
314
314
|
description: ( localize(
|
|
315
|
-
|
|
315
|
+
13579,
|
|
316
316
|
"The problem matcher(s) to use. Can either be a string or a problem matcher definition or an array of strings and problem matchers."
|
|
317
317
|
))
|
|
318
318
|
},
|
|
319
319
|
tasks: {
|
|
320
320
|
type: "array",
|
|
321
321
|
description: ( localize(
|
|
322
|
-
|
|
322
|
+
13580,
|
|
323
323
|
"The task configurations. Usually these are enrichments of task already defined in the external task runner."
|
|
324
324
|
)),
|
|
325
325
|
items: {
|
|
@@ -13,32 +13,32 @@ const schema = {
|
|
|
13
13
|
version: {
|
|
14
14
|
type: "string",
|
|
15
15
|
enum: ["0.1.0"],
|
|
16
|
-
deprecationMessage: ( localize(
|
|
17
|
-
description: ( localize(
|
|
16
|
+
deprecationMessage: ( localize(13581, "Task version 0.1.0 is deprecated. Please use 2.0.0")),
|
|
17
|
+
description: ( localize(13582, "The config's version number"))
|
|
18
18
|
},
|
|
19
19
|
_runner: {
|
|
20
|
-
deprecationMessage: ( localize(
|
|
20
|
+
deprecationMessage: ( localize(13583, "The runner has graduated. Use the official runner property"))
|
|
21
21
|
},
|
|
22
22
|
runner: {
|
|
23
23
|
type: "string",
|
|
24
24
|
enum: ["process", "terminal"],
|
|
25
25
|
default: "process",
|
|
26
26
|
description: ( localize(
|
|
27
|
-
|
|
27
|
+
13584,
|
|
28
28
|
"Defines whether the task is executed as a process and the output is shown in the output window or inside the terminal."
|
|
29
29
|
))
|
|
30
30
|
},
|
|
31
31
|
windows: {
|
|
32
32
|
$ref: "#/definitions/taskRunnerConfiguration",
|
|
33
|
-
description: ( localize(
|
|
33
|
+
description: ( localize(13585, "Windows specific command configuration"))
|
|
34
34
|
},
|
|
35
35
|
osx: {
|
|
36
36
|
$ref: "#/definitions/taskRunnerConfiguration",
|
|
37
|
-
description: ( localize(
|
|
37
|
+
description: ( localize(13586, "Mac specific command configuration"))
|
|
38
38
|
},
|
|
39
39
|
linux: {
|
|
40
40
|
$ref: "#/definitions/taskRunnerConfiguration",
|
|
41
|
-
description: ( localize(
|
|
41
|
+
description: ( localize(13587, "Linux specific command configuration"))
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}, {
|
|
@@ -50,7 +50,7 @@ const shellCommand = {
|
|
|
50
50
|
type: "boolean",
|
|
51
51
|
default: true,
|
|
52
52
|
description: ( localize(
|
|
53
|
-
|
|
53
|
+
13588,
|
|
54
54
|
"Specifies whether the command is a shell command or an external program. Defaults to false if omitted."
|
|
55
55
|
))
|
|
56
56
|
};
|