From fb4c388d68ef68ef71836b2e2a2e684aaffbfa5b Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 22 Feb 2024 15:47:18 +0100 Subject: [PATCH] vscode: Add hard-coded path to compile_commands.json When run from Windows via WSL, VS Code just won't find the `compile_commands.json` otherwise. --- .vscode/c_cpp_properties.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .vscode/c_cpp_properties.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000000..7f89c378fc --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,11 @@ +{ + "configurations": [ + { + "name": "RIOT", + "cStandard": "c11", + "cppStandard": "c++17", + "compileCommands": "${workspaceFolder}/compile_commands.json" + } + ], + "version": 4 +}