Skip to content

Commit f3ae1bc

Browse files
TimoSteuerwaldETASFScholPer
authored andcommitted
Add hedron tasks for updating compile_commands.json
1 parent bf2b7cb commit f3ae1bc

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.vscode/tasks.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Refresh compile_commands.json",
6+
"type": "shell",
7+
"isBackground": true,
8+
"command": "bazel run @hedron_compile_commands//:refresh_all",
9+
"problemMatcher": [],
10+
"group": {
11+
"kind": "build",
12+
"isDefault": false
13+
},
14+
"presentation": {
15+
"reveal": "always",
16+
"panel": "shared"
17+
}
18+
},
19+
{
20+
"label": "Refresh IntelliSense",
21+
"dependsOn": [
22+
"Refresh compile_commands.json"
23+
],
24+
"command": "${command:clangd.restart}",
25+
"isBackground": true,
26+
"problemMatcher": [],
27+
"group": {
28+
"kind": "build",
29+
"isDefault": true
30+
},
31+
"presentation": {
32+
"reveal": "silent",
33+
"panel": "shared"
34+
}
35+
}
36+
]
37+
}

0 commit comments

Comments
 (0)