Skip to content

Commit 4257073

Browse files
stephanie-engJF002
authored andcommitted
Fixed container to use clang-format-12 and format on save
1 parent 67e0773 commit 4257073

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.devcontainer/devcontainer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
// Set *default* container specific settings.json values on container create.
1414
"settings": {
15-
"terminal.integrated.shell.linux": "/bin/bash"
15+
"terminal.integrated.shell.linux": "/bin/bash",
16+
"editor.formatOnSave": true,
17+
"clang-format.executable": "clang-format-12"
1618
},
1719

1820
// Add the IDs of extensions you want installed when the container is created.
@@ -33,4 +35,4 @@
3335
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
3436
// "remoteUser": "vscode"
3537
"remoteUser": "infinitime"
36-
}
38+
}

0 commit comments

Comments
 (0)