Skip to content

Commit ee19bc1

Browse files
committed
Add VS Code settings matching existing formatting.
1 parent 4b2685b commit ee19bc1

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"C_Cpp.vcFormat.newLine.beforeOpenBrace.function": "newLine",
3+
"C_Cpp.vcFormat.space.beforeFunctionOpenParenthesis": "insert",
4+
"C_Cpp.vcFormat.space.pointerReferenceAlignment": "right",
5+
"C_Cpp.formatting": "vcFormat",
6+
"C_Cpp.vcFormat.indent.withinParentheses": "alignToParenthesis"
7+
}

.vscode/tasks.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "process",
6+
"label": "Build project",
7+
"command": "/usr/bin/make",
8+
"args": [],
9+
"options": {
10+
"cwd": "${workspaceFolder}"
11+
},
12+
"problemMatcher": [
13+
"$gcc"
14+
],
15+
"group": {
16+
"kind": "build",
17+
"isDefault": true
18+
}
19+
}
20+
]
21+
}

0 commit comments

Comments
 (0)