forked from webnautes/nudapeu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1148-2
59 lines (48 loc) · 1.47 KB
/
1148-2
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
{
"version": "2.0.0",
"runner": "terminal",
"type": "shell",
"echoCommand": true,
"presentation" : { "reveal": "always" },
"tasks": [
//컴파일
{
"label": "saveNcompile",
"command": "kotlinc",
"args": [
"${file}",
"-include-runtime",
"-d",
"${fileDirname}/${fileBasenameNoExtension}.jar"
],
"group": "build",
//컴파일시 에러를 편집기에 반영
//참고: https://code.visualstudio.com/docs/editor/tasks#_defining-a-problem-matcher
"problemMatcher": {
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"pattern": {
// The regular expression.
//helloworld\hello.kt:2:5: error: unresolved reference: printl
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
},
// 바이너리 실행
{
"label": "execute",
"command": "java",
"group": "test",
"args": [
"-jar", "${fileDirname}/${fileBasenameNoExtension}.jar"
]
}
]
}