{ // Editor settings "editor.formatOnSave": true, "editor.defaultFormatter": "xaver.clang-format", "editor.tabSize": 4, "editor.insertSpaces": false, // C/C++ extension settings "C_Cpp.formatting": "clangFormat", "C_Cpp.format.clang_format_path": "clang-format", "C_Cpp.format.clang_format_fallbackStyle": "LLVM", "C_Cpp.format.clang_format_style": "file", "C_Cpp.errorSquiggles": "enabled", "C_Cpp.intelliSenseEngine": "default", "C_Cpp.default.compileCommands": "${workspaceFolder}/build/compile_commands.json", // Files to exclude "files.exclude": { "**/.git": true, "**/build": false, "**/managed_components": true }, // Files to watch "files.watcherExclude": { "**/.git/**": true, "**/build/**": false, "**/managed_components/**": true }, // CMake settings "cmake.configureOnOpen": false, "cmake.buildDirectory": "${workspaceFolder}/build", // File associations "files.associations": { "*.h": "c", "*.c": "c", "sdkconfig.defaults": "ini", "Kconfig.projbuild": "kconfig" }, // Trailing whitespace "files.trimTrailingWhitespace": true, "files.insertFinalNewline": true, // Clang-format specific "clang-format.executable": "clang-format", "clang-format.style": "file", "clang-format.fallbackStyle": "LLVM", "clang-format.assumeFilename": "main.c" }