Skip to content

Commit 4c847d7

Browse files
editor:enable editor to format on save (bpftrace#4072)
Signed-off-by: Jiawei Zhao <[email protected]>
1 parent 8db3cb3 commit 4c847d7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.vscode/settings.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
"clangd.arguments": [
44
"-background-index",
55
"-compile-commands-dir=${workspaceFolder}/build-vscode"
6-
]
7-
}
6+
],
7+
"editor.formatOnSave": true,
8+
"C_Cpp.clang_format_style": "file"
9+
}

0 commit comments

Comments
 (0)