From 7243e13df51bc13d4b0413669ebbefbefb5a3fab Mon Sep 17 00:00:00 2001 From: Caleb Burke Date: Sun, 23 Aug 2026 20:44:36 -0700 Subject: [PATCH] vscode settings change --- .vscode/c_cpp_properties.json | 12 +++++++ .vscode/settings.json | 59 +++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/settings.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..5835524 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,12 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": ["${workspaceFolder}/**", "${env:VULKAN_SDK}/include"], + "defines": [], + "compileCommands": "${workspaceFolder}/build/compile_commands.json", + "intelliSenseMode": "linux-clang-x64" + } + ], + "version": 4 +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9fc89bf --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,59 @@ +{ + "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 + } +}