diff --git a/.gitignore b/.gitignore index e604eaf..653d464 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .idea +.cache +compile_commands.json cmake-build* build* /tests/cmake-build* diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..5669d37 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "llvm-vs-code-extensions.vscode-clangd", + "ms-vscode.cmake-tools", + "twxs.cmake", + ] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..57752aa --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,6 @@ +{ + "version": "0.2.0", + "configurations": [ + // Use the CMake panel to launch/debug + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ceee502 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,14 @@ +{ + "cmake.configureOnOpen": true, + "cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json", + "C_Cpp.intelliSenseEngine": "disabled", + "clangd.path": "clangd", + "editor.formatOnSave": true, + "editor.rulers": [120], + "[c]": { + "editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd" + }, + "[cpp]": { + "editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd" + }, +}