{
    "[c]": {
        "files.autoSave": "onFocusChange",
        "files.encoding": "utf8",
        "editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
    },
    "[cpp]": {
        "files.autoSave": "onFocusChange",
        "files.encoding": "utf8",
        "editor.defaultFormatter": "xaver.clang-format"
    },
    // "[python]": {
    //     "editor.defaultFormatter": "ms-python.black-formatter"
    // },
    // "editor.tabSize": 2,
    "files.insertFinalNewline": true,
    "files.trimFinalNewlines": true,
    "files.associations": {
        "*.inc": "cpp",
        "*.pch": "c",
        "*.pch++": "cpp",
        ".clangd": "yaml"
    },
    // Disable C/C++ IntelliSense, use clangd instead
    "C_Cpp.intelliSenseEngine": "disabled",
}
