forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtasks.json
More file actions
117 lines (117 loc) · 3.68 KB
/
tasks.json
File metadata and controls
117 lines (117 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"version": "2.0.0",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"tasks": [
{
"label": "Compile",
"type": "npm",
"script": "compile",
"isBackground": true,
"problemMatcher": [
"$tsc-watch",
{
"base": "$tslint5",
"fileLocation": "relative"
}
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Run Unit Tests",
"type": "npm",
"script": "test:unittests",
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Hygiene",
"type": "gulp",
"task": "watch",
"isBackground": true,
"presentation": {
"echo": true,
"reveal": "never",
"focus": false,
"panel": "dedicated"
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
// Use this to run hygiene and display errors in problems window (very slow on Windows)
"label": "Hygiene (Problems Window)",
"type": "gulp",
"task": "watchProblems",
"isBackground": true,
"presentation": {
"echo": true,
"reveal": "never",
"focus": false,
"panel": "dedicated"
},
"problemMatcher": [
{
"applyTo": "allDocuments",
"fileLocation": "relative",
"background": {
"beginsPattern": {
"regexp": "^Hygiene started"
},
"endsPattern": {
"regexp": "^(Hygiene failed with errors|Hygiene passed with 0 errors)"
}
},
"pattern": [
{
"regexp": "^([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
"file": 1,
"location": 2,
"severity": 3,
"code": 4,
"message": 5
}
]
},
{
"applyTo": "allDocuments",
"fileLocation": "relative",
"background": {
"beginsPattern": {
"regexp": "^Hygiene started"
},
"endsPattern": {
"regexp": "^(Hygiene failed with errors|Hygiene passed with 0 errors)"
}
},
"pattern": [
{
"regexp": "^(WARNING|ERROR):(\\s+\\(\\S*\\))?\\s+(\\S.*)\\[(\\d+), (\\d+)\\]:\\s+(.*)$",
"severity": 1,
"file": 3,
"line": 4,
"column": 5,
"message": 6
}
]
}
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}