From d7af6529efce16065945e77b2437e5194de8b7c0 Mon Sep 17 00:00:00 2001 From: Allen Hill Date: Sun, 3 Sep 2023 19:29:09 -0400 Subject: [PATCH] Copy settings to devcontainer --- .devcontainer/devcontainer.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a0352f0..197ac26 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -18,7 +18,21 @@ "ms-vscode.cmake-tools", "rockcat.avr-support", "harikrishnan94.cxx-compiler-explorer" - ] + ], + "settings": { + "editor.formatOnSave": true, + "C_Cpp.codeAnalysis.clangTidy.checks.disabled": [ + "clang-analyzer-core.NullDereference" + ], + "C_Cpp.files.exclude": { + "build/**": true + }, + "files.associations": { + "*.S": "avr" + }, + "cmake.configureOnOpen": true, + "compilerexplorer.compilationDirectory": "${workspaceFolder}/build", + } } } // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.