Configure vscode + Update flake.lock

This commit is contained in:
Florian RICHER 2025-06-09 22:54:06 +02:00
parent d783d9302e
commit 33e95af983
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
9 changed files with 114 additions and 42 deletions

14
.vscode/c_cpp_properties.json vendored Normal file
View file

@ -0,0 +1,14 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"intelliSenseMode": "${default}",
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
}
],
"version": 4
}

9
.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,9 @@
{
"recommendations": [
"ms-vscode.cpptools-extension-pack",
"llvm-vs-code-extensions.vscode-clangd",
"theqtcompany.qt",
"knv.qt6renderer",
"deerawan.vscode-dash",
]
}

15
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/src/tutorial_kirigami2",
"args": [],
"preLaunchTask": "CMake: build",
"cwd": "${workspaceFolder}",
"environment": [],
}
]
}

10
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,10 @@
{
"cmake.generator": "Ninja",
"cmake.configureSettings": {
"CMAKE_EXPORT_COMPILE_COMMANDS:BOOL": "ON",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"QT_MAJOR_VERSION": "6"
},
"cmake.buildDirectory": "${workspaceFolder}/build",
"C_Cpp.intelliSenseEngine": "disabled",
}

19
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,19 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "CMake: build",
"type": "cmake",
"command": "build",
"group": "build",
"problemMatcher": [],
"detail": "CMake build"
},
{
"label": "CMake: clean",
"type": "cmake",
"command": "clean",
"group": "build",
}
]
}