vscode settings change
This commit is contained in:
Vendored
+12
@@ -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
|
||||||
|
}
|
||||||
Vendored
+59
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user