clang-format is a code formatter, not a compiler tool. It: Rewrites your C++ source code Adjusts indentation, spacing, line breaks, brace style, etc and makes code look consistent
18 lines
351 B
JSON
18 lines
351 B
JSON
{
|
|
|
|
"[cpp]": {
|
|
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd",
|
|
"editor.formatOnSave": true
|
|
},
|
|
|
|
|
|
|
|
"cmake.configureSettings": {
|
|
"CMAKE_TOOLCHAIN_FILE": "/home/ys/family-repo/Code/cplusplus/tools/vcpkg/scripts/buildsystems/vcpkg.cmake",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
|
},
|
|
|
|
"cmake.generator": "Ninja"
|
|
}
|
|
|