Include .vscode settings

This commit is contained in:
stefiosif
2024-08-03 13:54:29 +03:00
parent 467edb4019
commit 6044d20c60
3 changed files with 32 additions and 1 deletions

20
.vscode/c_cpp_properties.json vendored Normal file
View File

@@ -0,0 +1,20 @@
{
"configurations": [
{
"name": "WSL",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/include",
"${workspaceFolder}/third_party/nanobench/src/include",
"${workspaceFolder}/third_party/doctest/doctest"
],
"defines": [],
"compilerPath": "/usr/bin/clang++",
"cStandard": "c11",
"cppStandard": "c++20",
"intelliSenseMode": "linux-clang-x64",
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
}
],
"version": 4
}

12
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,12 @@
{
"files.associations": {
"algorithm": "cc",
"map": "cc",
"unordered_set": "cc",
"ostream": "cc"
},
"clangd.arguments": [
"--compile-commands-dir=${workspaceFolder}/build"
],
"clangd.onConfigChanged": "restart"
}