diff --git a/.gitignore b/.gitignore index eb695eb..9dc5f94 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ build/* -.vscode/* +.clangd/* CMakeLists.txt.user diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..f432300 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.0", + "configurations": [{ + "name": "LLDB Debug", + "type": "lldb", + "request": "launch", + "program": "${command:cmake.launchTargetPath}", + "args": [], + "cwd": "${workspaceFolder}" + }] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..53d3e94 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "clangd.arguments": [ + "--all-scopes-completion", + "--background-index", + "--clang-tidy", + "--compile-commands-dir=${workspaceFolder}/.clangd", + "--completion-style=detailed", + "--header-insertion=never" + ], + "cmake.copyCompileCommands": "${workspaceFolder}/.clangd/compile_commands.json" +}