From 6044d20c6006c00456b5832709f676ccd8e8e2cd Mon Sep 17 00:00:00 2001 From: stefiosif Date: Sat, 3 Aug 2024 13:54:29 +0300 Subject: [PATCH] Include .vscode settings --- .gitignore | 1 - .vscode/c_cpp_properties.json | 20 ++++++++++++++++++++ .vscode/settings.json | 12 ++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 368f697..494554f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -.vscode/ .cache/ build/ \ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..62b2a81 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -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 +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6dec7f1 --- /dev/null +++ b/.vscode/settings.json @@ -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" +} \ No newline at end of file