summaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authorStephanie <eng.steph@gmail.com>2021-10-31 12:24:13 -0400
committerJF <JF002@users.noreply.github.com>2021-11-28 13:57:02 +0100
commit4257073a02215e3f182d993765e4c5edef2d9845 (patch)
tree1c52fcc472e2436acabcc24b2e2beda3d8f13fda /.devcontainer/devcontainer.json
parent67e077348c4e20b7c11701e468d89159b9473489 (diff)
Fixed container to use clang-format-12 and format on save
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 778fe9cb..1bb315f7 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -12,7 +12,9 @@
// Set *default* container specific settings.json values on container create.
"settings": {
- "terminal.integrated.shell.linux": "/bin/bash"
+ "terminal.integrated.shell.linux": "/bin/bash",
+ "editor.formatOnSave": true,
+ "clang-format.executable": "clang-format-12"
},
// Add the IDs of extensions you want installed when the container is created.
@@ -33,4 +35,4 @@
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
"remoteUser": "infinitime"
-} \ No newline at end of file
+}