]> git.lizzy.rs Git - rust.git/blob - .vscode/tasks.json
Add vscode support for range in SyntaxTreeParams
[rust.git] / .vscode / tasks.json
1 // See https://go.microsoft.com/fwlink/?LinkId=733558
2 // for the documentation about the tasks.json format
3 {
4   "version": "2.0.0",
5   "tasks": [
6     {
7       "type": "npm",
8       "script": "compile",
9       "label": "Build Extension",
10       "problemMatcher": {
11         "owner": "typescript",
12         "pattern": "$tsc",
13         "fileLocation": ["relative", "${workspaceRoot}/editors/code"]
14       },
15       "path": "editors/code/"
16     },
17     {
18       "label": "Build Lsp",
19       "type": "shell",
20       "command": "cargo build",
21       "problemMatcher": {
22         "owner": "rust",
23         "fileLocation": ["relative", "${workspaceRoot}"],
24         "pattern": [
25           {
26             "regexp": "^(warning|warn|error)(?:\\[(.*?)\\])?: (.*)$",
27             "severity": 1,
28             "code": 2,
29             "message": 3
30           },
31           {
32             "regexp": "^[\\s->=]*(.*?):(\\d*):(\\d*)\\s*$",
33             "file": 1,
34             "line": 2,
35             "column": 3
36           }
37         ]
38       }
39     },
40     {
41       "label": "Build All",
42       "group": "build",
43       "dependsOn": ["Build Extension", "Build Lsp"],
44       "problemMatcher": []
45     }
46   ]
47 }