60 lines
2.1 KiB
JSON
60 lines
2.1 KiB
JSON
{
|
|
"C_Cpp.formatting": "clangFormat",
|
|
"C_Cpp.clang_format_style": "file",
|
|
"C_Cpp.clang_format_fallbackStyle": "Google",
|
|
"C_Cpp.clang_format_path": "/usr/bin/clang-format",
|
|
"C_Cpp.vcFormat.indent.namespaceContents": false,
|
|
|
|
"[cpp]": {
|
|
"editor.defaultFormatter": "ms-vscode.cpptools",
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnType": true,
|
|
"editor.rulers": [80],
|
|
"editor.tabSize": 2,
|
|
"editor.insertSpaces": true
|
|
},
|
|
"[c]": {
|
|
"editor.defaultFormatter": "ms-vscode.cpptools",
|
|
"editor.formatOnSave": true,
|
|
"editor.rulers": [80],
|
|
"editor.tabSize": 2,
|
|
"editor.insertSpaces": true
|
|
},
|
|
"C_Cpp.codeAnalysis.clangTidy.enabled": true,
|
|
"C_Cpp.codeAnalysis.clangTidy.path": "/usr/bin/clang-tidy",
|
|
"C_Cpp.codeAnalysis.clangTidy.useBuildPath": true,
|
|
"C_Cpp.codeAnalysis.runAutomatically": true,
|
|
"C_Cpp.codeAnalysis.exclude": {
|
|
"**/third_party/**": true,
|
|
"**/build/**": true
|
|
},
|
|
"C_Cpp.default.compileCommands": "${workspaceFolder}/build/compile_commands.json",
|
|
"C_Cpp.default.cppStandard": "c++20",
|
|
"C_Cpp.default.cStandard": "c17",
|
|
"C_Cpp.errorSquiggles": "enabled",
|
|
"cmake.configureEnvironment": {
|
|
"VULKAN_SDK": "/home/caleb/.local/share/vulkan-sdk/1.4.357.1/x86_64",
|
|
"CMAKE_PREFIX_PATH": "/home/caleb/.local/share/vulkan-sdk/1.4.357.1/x86_64:/home/caleb/.local/share/vulkan-sdk/1.4.357.1/x86_64/lib/VulkanLoader"
|
|
},
|
|
"cmake.environment": {
|
|
"VULKAN_SDK": "/home/caleb/.local/share/vulkan-sdk/1.4.357.1/x86_64",
|
|
"LD_LIBRARY_PATH": "/home/caleb/.local/share/vulkan-sdk/1.4.357.1/x86_64/lib/VulkanLoader/lib:/home/caleb/.local/share/vulkan-sdk/1.4.357.1/x86_64/lib",
|
|
"VK_ADD_LAYER_PATH": "/home/caleb/.local/share/vulkan-sdk/1.4.357.1/x86_64/share/vulkan/explicit_layer.d"
|
|
},
|
|
"cmake.buildDirectory": "${workspaceFolder}/build",
|
|
"cmake.generator": "Ninja",
|
|
"cmake.configureOnOpen": true,
|
|
"files.associations": {
|
|
".clang-format": "yaml",
|
|
".clang-tidy": "yaml",
|
|
"*.hpp": "cpp",
|
|
"*.inl": "cpp"
|
|
},
|
|
"files.insertFinalNewline": true,
|
|
"files.trimTrailingWhitespace": true,
|
|
"search.exclude": {
|
|
"**/build": true,
|
|
"**/third_party": true
|
|
}
|
|
}
|