Vscode support

This commit is contained in:
Valerio De Benedetto 2024-04-11 13:23:32 +02:00
parent 363e7f7480
commit 50f2285874
4 changed files with 29 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,4 +1,6 @@
.idea
.cache
compile_commands.json
cmake-build*
build*
/tests/cmake-build*

7
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"recommendations": [
"llvm-vs-code-extensions.vscode-clangd",
"ms-vscode.cmake-tools",
"twxs.cmake",
]
}

6
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"version": "0.2.0",
"configurations": [
// Use the CMake panel to launch/debug
]
}

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

@ -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"
},
}