@codingame/monaco-vscode-task-service-override 28.4.1 → 29.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/base/common/parsers.d.ts +32 -0
- package/vscode/src/vs/base/common/parsers.js +54 -0
- package/vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.js +114 -114
- package/vscode/src/vs/workbench/contrib/tasks/browser/runAutomaticTasks.js +7 -7
- package/vscode/src/vs/workbench/contrib/tasks/browser/task.contribution.js +48 -48
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskQuickPick.js +19 -19
- 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 +17 -17
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.js +42 -42
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v1.js +9 -9
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.js +86 -86
- package/vscode/src/vs/workbench/contrib/tasks/common/problemCollectors.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/problemCollectors.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/problemMatcher.d.ts +433 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/problemMatcher.js +1637 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskConfiguration.d.ts +514 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskConfiguration.js +1798 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskTemplates.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-task-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "29.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - task service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "29.1.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare enum ValidationState {
|
|
2
|
+
OK = 0,
|
|
3
|
+
Info = 1,
|
|
4
|
+
Warning = 2,
|
|
5
|
+
Error = 3,
|
|
6
|
+
Fatal = 4
|
|
7
|
+
}
|
|
8
|
+
export declare class ValidationStatus {
|
|
9
|
+
private _state;
|
|
10
|
+
constructor();
|
|
11
|
+
get state(): ValidationState;
|
|
12
|
+
set state(value: ValidationState);
|
|
13
|
+
isOK(): boolean;
|
|
14
|
+
isFatal(): boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface IProblemReporter {
|
|
17
|
+
info(message: string): void;
|
|
18
|
+
warn(message: string): void;
|
|
19
|
+
error(message: string): void;
|
|
20
|
+
fatal(message: string): void;
|
|
21
|
+
status: ValidationStatus;
|
|
22
|
+
}
|
|
23
|
+
export declare abstract class Parser {
|
|
24
|
+
private _problemReporter;
|
|
25
|
+
constructor(problemReporter: IProblemReporter);
|
|
26
|
+
reset(): void;
|
|
27
|
+
get problemReporter(): IProblemReporter;
|
|
28
|
+
info(message: string): void;
|
|
29
|
+
warn(message: string): void;
|
|
30
|
+
error(message: string): void;
|
|
31
|
+
fatal(message: string): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
var ValidationState;
|
|
4
|
+
(function (ValidationState) {
|
|
5
|
+
ValidationState[ValidationState["OK"] = 0] = "OK";
|
|
6
|
+
ValidationState[ValidationState["Info"] = 1] = "Info";
|
|
7
|
+
ValidationState[ValidationState["Warning"] = 2] = "Warning";
|
|
8
|
+
ValidationState[ValidationState["Error"] = 3] = "Error";
|
|
9
|
+
ValidationState[ValidationState["Fatal"] = 4] = "Fatal";
|
|
10
|
+
})(ValidationState || (ValidationState = {}));
|
|
11
|
+
class ValidationStatus {
|
|
12
|
+
constructor() {
|
|
13
|
+
this._state = ValidationState.OK;
|
|
14
|
+
}
|
|
15
|
+
get state() {
|
|
16
|
+
return this._state;
|
|
17
|
+
}
|
|
18
|
+
set state(value) {
|
|
19
|
+
if (value > this._state) {
|
|
20
|
+
this._state = value;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
isOK() {
|
|
24
|
+
return this._state === ValidationState.OK;
|
|
25
|
+
}
|
|
26
|
+
isFatal() {
|
|
27
|
+
return this._state === ValidationState.Fatal;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
class Parser {
|
|
31
|
+
constructor(problemReporter) {
|
|
32
|
+
this._problemReporter = problemReporter;
|
|
33
|
+
}
|
|
34
|
+
reset() {
|
|
35
|
+
this._problemReporter.status.state = ValidationState.OK;
|
|
36
|
+
}
|
|
37
|
+
get problemReporter() {
|
|
38
|
+
return this._problemReporter;
|
|
39
|
+
}
|
|
40
|
+
info(message) {
|
|
41
|
+
this._problemReporter.info(message);
|
|
42
|
+
}
|
|
43
|
+
warn(message) {
|
|
44
|
+
this._problemReporter.warn(message);
|
|
45
|
+
}
|
|
46
|
+
error(message) {
|
|
47
|
+
this._problemReporter.error(message);
|
|
48
|
+
}
|
|
49
|
+
fatal(message) {
|
|
50
|
+
this._problemReporter.fatal(message);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { Parser, ValidationState, ValidationStatus };
|
|
@@ -32,7 +32,7 @@ import { ConfiguringTask, ContributedTask, CustomTask, ExecutionEngine, ITaskEve
|
|
|
32
32
|
import { ICustomizationProperties, IProblemMatcherRunOptions, ITaskFilter, ITaskProvider, IWorkspaceFolderTaskResult } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/tasks/common/taskService";
|
|
33
33
|
import { ITaskService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/tasks/common/taskService.service";
|
|
34
34
|
import { ITaskSummary, ITaskSystem, ITaskSystemInfo, ITaskTerminateResponse } from "../common/taskSystem.js";
|
|
35
|
-
import * as TaskConfig from "
|
|
35
|
+
import * as TaskConfig from "../common/taskConfiguration.js";
|
|
36
36
|
import { IQuickPickItem } from "@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput";
|
|
37
37
|
import { IQuickInputService } from "@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service";
|
|
38
38
|
import { IContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
|